HttpMessage::setHttpVersion

(PECL pecl_http >= 0.10.0)

HttpMessage::setHttpVersionSet HTTP version

Опис

public bool HttpMessage::setHttpVersion ( string $version )

Set the HTTP Protocol version of the Message.

Параметри

version

the HTTP protocol version

Значення, що повертаються

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

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top