HttpMessage::setHttpVersion

(PECL pecl_http >= 0.10.0)

HttpMessage::setHttpVersionSet HTTP version

Descrição

public bool HttpMessage::setHttpVersion ( string $version )

Set the HTTP Protocol version of the Message.

Parâmetros

version

the HTTP protocol version

Valor Retornado

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



User Contributed Notes
HttpMessage::setHttpVersion
There are no user contributed notes for this page.

HttpMessage::setRequestMethod> <HttpMessage::setHeaders
Last updated: Fri, 24 Feb 2012