http
PHP Manual

HttpMessage::getRequestMethod

(PECL pecl_http:0.10.0-1.5.5)

HttpMessage::getRequestMethod — Get request method

Descripción

public string HttpMessage::getRequestMethod ( void )

Get the Request Method of the Message.

Valores retornados

Returns the request method name on success, or FALSE if the message is not of type HttpMessage::TYPE_REQUEST.


http
PHP Manual