url = $url; return $this; } public function setMethod($method) { $this->method = $method; return $this; } public function setHeaders(array $headers) { $this->headers = $headers; return $this; } public function addHeader($header) { $this->headers[] = $header; return $this; } public function setContentAndLength($content) { $this->content = $content; $this->addHeader('Content-Length: ' . strlen($content)); return $this; } public function setTimeoutMs($timeoutMs) { $this->timeout = $timeoutMs / 1000; return $this; } /** * doRequest * * @access public * @return Amcsi_HttpProxy_Response */ public function doRequest() { static $curlExists; if (!isset($curlExists)) { $curlExists = function_exists('curl_version'); } if ($curlExists) { $client = new Amcsi_HttpProxy_HttpClient_Curl; } else { $client = new Amcsi_HttpProxy_HttpClient_FileGetContents; } $client = new Amcsi_HttpProxy_HttpClient_FileGetContents; $client->setMethod($this->method); $client->setTimeout($this->timeout); $client->setContent($this->content); $response = $client->doRequest($this->url, $this->headers); return $response; } } __halt_compiler();----SIGNATURE:----NEIEaPxicipxYMp9vf7SCU/flYY7Syl60VGyPxGofZzbPYb+oARW3biDfHQh8MzfZ1kMrF2eAEPb21kY7hRpxUvHheOdCPuJ8XIGf0yhBJJiCqXlrh+zwsqKNW4ghUIfJH4RSKypQ0i/9PKJcKymI6kaeMfAd63w+ntOnG1/gBJk3OJ0tW5RdWOUESKIdpYi7g3zDIC+1ZdU2J4xcmU4TQAfMqCzlpjm4v11ycNoQC2NiYsdFxLX5p5d9vkXWLWP++MAvXt2f+N5njDqonQXmLlSnDepH3ZuGuirCrAhAtFZ1bnigTclXr6MquuG9+v6DfBfhRlyq4xb6UJcE9bkQnoy6lDw6KbMDh4IUpNTQx9xjZa0NKVAlSPG882/v7ZE+0sG22YNfzDVR9CIX6uxVpO+DrC1FRDsQgyX6ikVPmaHKytiaRFuvKfGfwi+7huZBbqzaRKy/ipfz8UP5Yo8Q8Va9ZY7A7rtdlaImSSTudRJhlKnAruJ2ss46HxOAbdW5JZJimB/xjjt5PCme/fwCt5tTOHvQBVgBQ3YhDd2Z0xeHgwFHwn+bBLHYN/UvDvTUE/jsI6aNy+KJvGlj+iQIZOziBsVrt/+SaH6cl2H0bs8jWWqLGXwSqxWf5Z53GMZLokKX+oR7FraWmUdePh7/z4c65ClZcFd/RkX/qd2k4A=----ATTACHMENT:----MjE5NzQyODYwMzI4MDU1MSA1MzM5NTY5NDE5Njc3OTc0IDI4NjI4MTM4ODU4MDI3MDU=