2 HttpMessage implements Serializable, Countable
14 "Location: /anywhere\r\n".
16 "Location: /somewhere\r\n".
18 "Transfer-Encoding: chunked\r\n".
25 var_dump($m->count());
26 var_dump($m->serialize());
27 $m->unserialize("HTTP/1.1 200 Ok\r\nServer: Funky/1.0");
29 var_dump($m->count());
36 string(148) "HTTP/1.1 301
41 X-Original-Transfer-Encoding: chunked
46 object(HttpMessage)#%d (%d) {
51 ["requestMethod:protected"]=>
53 ["requestUrl:protected"]=>
55 ["responseStatus:protected"]=>
57 ["responseCode:protected"]=>
59 ["httpVersion:protected"]=>
61 ["headers:protected"]=>
66 ["parentMessage:protected"]=>