(PECL pecl_http >= 0.10.0)
HttpRequest::getMethod — Get method
Get the previously set request method.
Returns the currently set request method.