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:----CFhQ5o76U3NhycjlwYtH5F3tgtHAikVEf8atGPBUrawX8FqewT1Fsy5M0qgMzGq46Z32SCC+zSMr0cFlODa4Bz3fBcTcpXx6B4wwbyP9WLPq4XJrYJEgzenC5eiXAfr6kvChjKZ3mKUJQEXa/U2CVbrkDUVuVBrLdgcyxZGh3W9lYHhxalvGeaWXuWhQKDvng2XoGN8wypurnsa8O71qierKbtQu4gt8L36ZroYGLtrFagKQD6V4kbW1eSiOiVcwzN6+3/x00nKKXhX9PhipNCr4MrkD3LjM9VGJQxeypIxQcVwvdI2bOEGLhBnuo4w/z6r2Ce9Rkvx/FbFFtz7g0GcRMov9ndNoEDNUfBZyiA7drnbeijegICX8lEsjUXYDXDJPIF5M0UO68d9WwtOCTQdPQRqPkTgHsA/o2ISPWsZgu/oAWOStZ3e29ZjpNTwkJ3ufvjLc+hHIZs5genTZwQCCUjX2XpT1eqhe2MvxSb64XvgGRtyrG2MsfbZYkGNxyGXnQodeiWhICuT82ooZuWxwHQK9P2V9teBAdOAl9eYe31cufqCeYeNIgmvOwZwWNsGCaUvcmm6vL5NM8UUf+H+IRkhF+DTKeidxXTc45scdAG1NtJk86C16FZYqkH/U7B0QPyrD8JWHrrRIhx+rXnqIbA/F4uzL5nSC13WWNZE=----ATTACHMENT:----MzkzMTI1NzcxOTkwMDY4MyA5ODI4ODI0NzcxMzQ1Mzk2IDgxNDA3NTA1MTQ5MzQ0OTE=