/**
  *
  * @throws CurlException
  */
 function send()
 {
     $body = curl_exec($this->handle);
     $info = curl_getinfo($this->handle);
     $this->response = $res = new $this->responseClass($body, $info);
     $errno = curl_errno($this->handle);
     if (0 !== $errno) {
         $err = new CurlException(curl_error($this->handle), $errno);
         $err->setRequest($this);
         $this->error = $err;
         throw $err;
     }
     return $res;
 }