The HttpRequest
PHP Manual

HttpRequest::getMethod

(PECL pecl_http >= 0.10.0)

HttpRequest::getMethodGet method

설명

public int HttpRequest::getMethod ( void )

Get the previously set request method.

반환값

Returns the currently set request method.


The HttpRequest
PHP Manual