(PECL pecl_http >= 0.10.0)
HttpMessage::getRequestMethod — Get request method
Get the Request Method of the Message.
Returns the request method name on success, or FALSE if the message is not of type HttpMessage::TYPE_REQUEST.