HttpMessage::__construct
(PECL pecl_http >= 0.10.0)
HttpMessage::__construct — HttpMessage constructor
Описание
public
void HttpMessage::__construct
([ string $message
] )
The constructed object will actually represent the last message of the passed string. If there were
prior messages, those can be accessed by HttpMessage::getParentMessage().
Список параметров
-
message
-
a single or several consecutive HTTP messages
Errors/Exceptions
Throws HttpMalformedHeaderException.