HttpMessage::setHttpVersion
Set HTTP version
Description
public
bool HttpMessage::setHttpVersion
( string $version
)
Parameters
-
version
-
the HTTP protocol version
Return Values
Returns TRUE
on success, or FALSE
if supplied version is out of range (1.0/1.1).