(PECL pecl_http >= 0.10.0)
HttpMessage::setHttpVersion — Set HTTP version
$version
)Set the HTTP Protocol version of the Message.
versionthe HTTP protocol version
Returns TRUE on success, or FALSE if supplied version is out of range (1.0/1.1).