47 function __construct($url, $params, $method =
'GET', $useProxy =
true) {
49 $this->_params = $params;
50 $this->_method = $method;
51 $this->_accept =
'text/xml, */*';
52 $this->_useProxySettings = $useProxy;
87 $this->_params =& $params;
103 $this->_method = $method;
111 $this->_accept = $accept;
128 $this->_headers[$header] = $content;
140 $header = strtolower($header);
141 foreach($this->_headers as $h => $dummy) {
142 if ($header == strtolower($h))
return true;
160 $this->_async = (boolean)$async;
176 $this->_useProxySettings = $useProxySettings;