The HttpMessage class
PHP Manual

HttpMessage::getHttpVersion

(PECL pecl_http >= 0.10.0)

HttpMessage::getHttpVersionGet HTTP version

Beschreibung

public string HttpMessage::getHttpVersion ( void )

Get the HTTP Protocol Version of the Message.

Rückgabewerte

Returns the HTTP protocol version as string.


The HttpMessage class
PHP Manual