The HttpMessage class
PHP 手册

HttpMessage::getHttpVersion

(PECL pecl_http >= 0.10.0)

HttpMessage::getHttpVersionGet HTTP version

说明

public string HttpMessage::getHttpVersion ( void )

Get the HTTP Protocol Version of the Message.

返回值

Returns the HTTP protocol version as string.


The HttpMessage class
PHP 手册