2 HttpMessage implmenets 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(109) "HTTP/1.1 301
45 object(HttpMessage)#%d (%d) {
48 ["httpVersion:protected"]=>
50 ["responseCode:protected"]=>
52 ["responseStatus:protected"]=>
54 ["requestMethod:protected"]=>
56 ["requestUri:protected"]=>
58 ["headers:protected"]=>