public function reset()
    {
        $this->close();
        $this->curlOpts = array();
        $this->requestHeaders = array();
        $this->currentRequestUrl = null;

        $this->state = self::STATE_NEW;

        return $this;
    }
public function reset()
    {
        $this->close();
        $this->curlOpts = array();
        $this->requestHeaders = array();
        $this->currentRequestUrl = null;

        $this->state = self::STATE_NEW;

        return $this;
    }
public function reset ( ) { $ this -> close ( ) ; $ this -> curlOpts = array ( ) ; $ this -> requestHeaders = array ( ) ; $ this -> currentRequestUrl = null ; $ this -> state = self :: STATE_NEW ; return $ this ; }
Reset to new state

@return $this
Reset to new state