HttpMessage
PHP Manual

HttpMessage::setHttpVersion

(PECL pecl_http >= 0.10.0)

HttpMessage::setHttpVersionSet HTTP version

Descrizione

public bool HttpMessage::setHttpVersion ( string $version )

Set the HTTP Protocol version of the Message.

Elenco dei parametri

version

the HTTP protocol version

Valori restituiti

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


HttpMessage
PHP Manual