Scholar Repository
Home>Manual>Get method

Get method


HttpRequest::getMethod

(PECL pecl_http >= 0.10.0)

HttpRequest::getMethodGet method

Description

public int HttpRequest::getMethod ( void )

Get the previously set request method.

Return Values

Returns the currently set request method.


Home>Manual>Get method