(PECL pecl_http >= 0.10.0)
HttpRequest::setMethod — Set method
Set the request method.
the request method to use
Retorna TRUE em caso de sucesso ou FALSE em falhas.