HttpMessage
PHP Manual

HttpMessage::getRequestMethod

(PECL pecl_http >= 0.10.0)

HttpMessage::getRequestMethodGet request method

Descrizione

public string HttpMessage::getRequestMethod ( void )

Get the Request Method of the Message.

Valori restituiti

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


HttpMessage
PHP Manual