PHP Dokumentation: Function httprequest-setmethod
12. Januar 2010 von werner
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.