HttpMessage::setHttpVersion
(PECL pecl_http >= 0.10.0)
HttpMessage::setHttpVersion — Set HTTP version
Описание
public
bool HttpMessage::setHttpVersion
( string $version
)
Список параметров
-
version
-
the HTTP protocol version
Возвращаемые значения
Returns TRUE on success, or FALSE if supplied version is out of range (1.0/1.1).