PHP Doku:: Set HTTP version - function.httpmessage-sethttpversion.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzSonstige DiensteHTTPThe HttpMessage classHttpMessage::setHttpVersion

Ein Service von Reinhard Neidl - Webprogrammierung.

The HttpMessage class

<<HttpMessage::setHeaders

HttpMessage::setRequestMethod>>

HttpMessage::setHttpVersion

(PECL pecl_http >= 0.10.0)

HttpMessage::setHttpVersionSet HTTP version

Beschreibung

public bool HttpMessage::setHttpVersion ( string $version )

Set the HTTP Protocol version of the Message.

Parameter-Liste

version

the HTTP protocol version

Rückgabewerte

Returns TRUE on success, or FALSE if supplied version is out of range (1.0/1.1).


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)