HttpMessage::getRequestMethod()
HttpMessage::getRequestMethod - Get request method
Syntax
public HttpMessage::getRequestMethod ()
Arguments
-
Description
Get the Request Method of the Message.
Version
PHP PECL pecl_http >= 0.10.0
Return value
Returns the request method name on success, or FALSE if the message is not of type HttpMessage:: TYPE_REQUEST.