7 checkcls('HttpRequest');
13 $r = new HttpRequest('http://dev.iworks.at/ext-http/.print_request.php', HTTP_METH_POST);
14 $r->setContentType('text/xml');
15 $r->setBody(xmlrpc_encode_request('testMethod', array('foo' => 'bar')));
24 object(HttpMessage)#%d (%d) {
28 string(309) "string(294) "<?xml version="1.0" encoding="iso-8859-1"?>
30 <methodName>testMethod</methodName>
48 ["requestMethod:protected"]=>
50 ["requestUrl:protected"]=>
52 ["responseStatus:protected"]=>
54 ["responseCode:protected"]=>
56 ["httpVersion:protected"]=>
58 ["headers:protected"]=>
62 ["parentMessage:protected"]=>
65 object(HttpMessage)#%d (%d) {
69 string(309) "string(294) "<?xml version="1.0" encoding="iso-8859-1"?>
71 <methodName>testMethod</methodName>
89 ["requestMethod:protected"]=>
91 ["requestUrl:protected"]=>
93 ["responseStatus:protected"]=>
95 ["responseCode:protected"]=>
97 ["httpVersion:protected"]=>
99 ["headers:protected"]=>
103 ["parentMessage:protected"]=>
106 object(HttpMessage)#%d (%d) {
110 string(309) "string(294) "<?xml version="1.0" encoding="iso-8859-1"?>
112 <methodName>testMethod</methodName>
130 ["requestMethod:protected"]=>
132 ["requestUrl:protected"]=>
134 ["responseStatus:protected"]=>
136 ["responseCode:protected"]=>
138 ["httpVersion:protected"]=>
140 ["headers:protected"]=>
144 ["parentMessage:protected"]=>