HttpRequest::setMethod
(PECL pecl_http:0.10.0-1.5.5)
HttpRequest::setMethod — Set method
Popis
public
bool HttpRequest::setMethod
( int $request_method
)
Set the request method.
Parametre
- request_method
-
the request method to use
Vrátené hodnoty
Vracia TRUE pri úspechu alebe FALSE pri chybe.