Beispiel #1
0
 public function send($url)
 {
     curl_setopt($this->handler, CURLOPT_URL, $url);
     $this->response_body = curl_exec($this->handler);
     $response = HttpResponse::separate($this->response_body, array('header_size' => curl_getinfo($this->handler, CURLINFO_HEADER_SIZE)));
     return $response;
 }