http
PHP Manual

HttpMessage::setHttpVersion

(PECL pecl_http:0.10.0-1.5.5)

HttpMessage::setHttpVersion — Set HTTP version

Descripción

public bool HttpMessage::setHttpVersion ( string $version )

Set the HTTP Protocol version of the Message.

Lista de parámetros

version

the HTTP protocol version

Valores retornados

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


http
PHP Manual