(PECL pecl_http >= 1.4.0)
HttpMessage::factory — Create HttpMessage from string
Create an HttpMessage object from a string.
a single or several consecutive HTTP messages
a class extending HttpMessage
Returns an HttpMessage object on success or NULL on failure.
Throws HttpMalformedHeadersException.