PHP Dokumentation: Function httprequest-setoptions
12. Januar 2010 von werner
HttpRequest::setOptions
(PECL pecl_http >= 0.10.0)
HttpRequest::setOptions — Set options
Beschreibung
public bool HttpRequest::setOptions ([ array $options ] )
Set the request options to use.
Siehe auch die vollständige Liste derRequest-Optionen.
Parameter-Liste
- options
an associative array, which values will overwrite the currently set request options; if empty or omitted, the options of the HttpRequest object will be reset
Rückgabewerte
Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.