if ($response) { $response = new CurlResponse($response); $response->info = curl_getinfo($this->request); } else { $this->error = curl_errno($this->request).' - '.curl_error($this->request); }
if ($response) {
$response = new CurlResponse($response);
$response->info = curl_getinfo($this->request);
} else {
$this->error = curl_errno($this->request).' - '.curl_error($this->request);
}