public function send() { // prepare client $curl = new Curl(); $curl->setTimeout(10); $curl->send($this->request, $this->response); $this->sent = true; }