HttpRequest::setMethod
(PECL pecl_http >= 0.10.0)
HttpRequest::setMethod — Set method
Beschreibung
public
bool HttpRequest::setMethod
( int
$request_method
)Set the request method.
Parameter-Liste
-
request_method -
the request method to use
Rückgabewerte
Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.