src/Curl/Curl.php
public function reset()
    {
        $this->close();
        $this->_cookies = array();
        $this->_headers = array();
        $this->error = false;
        $this->error_code = 0;
        $this->error_message = null;
        $this->curl_error = false;
        $this->curl_error_code = 0;
        $this->curl_error_message = null;
        $this->http_error = false;
        $this->http_status_code = 0;
        $this->http_error_message = null;
        $this->request_headers = null;
        $this->response_headers = array();
        $this->response = false;
        $this->init();
        return $this;
    }
public function reset()
    {
        $this->close();
        $this->_cookies = array();
        $this->_headers = array();
        $this->error = false;
        $this->error_code = 0;
        $this->error_message = null;
        $this->curl_error = false;
        $this->curl_error_code = 0;
        $this->curl_error_message = null;
        $this->http_error = false;
        $this->http_status_code = 0;
        $this->http_error_message = null;
        $this->request_headers = null;
        $this->response_headers = array();
        $this->response = false;
        $this->init();
        return $this;
    }
public function reset ( ) { $ this -> close ( ) ; $ this -> _cookies = array ( ) ; $ this -> _headers = array ( ) ; $ this -> error = false ; $ this -> error_code = 0 ; $ this -> error_message = null ; $ this -> curl_error = false ; $ this -> curl_error_code = 0 ; $ this -> curl_error_message = null ; $ this -> http_error = false ; $ this -> http_status_code = 0 ; $ this -> http_error_message = null ; $ this -> request_headers = null ; $ this -> response_headers = array ( ) ; $ this -> response = false ; $ this -> init ( ) ; return $ this ; }
Reset all curl options.

In order to make multiple requests with the same curl object all settings requires to be reset.
@return self
Reset all curl options .