The HttpRequest
PHP Manual

HttpRequest::getMethod

(PECL pecl_http:0.10.0-1.5.5)

HttpRequest::getMethodGet method

Описание

public int HttpRequest::getMethod ( void )

Get the previously set request method.

Возвращаемые значения

Returns the currently set request method.


The HttpRequest
PHP Manual