public function restart()
    {
        curl_close($this->curl);

        $this->cookies = array();
        $this->curl = $this->createCurlHandle();
    }
public function restart()
    {
        curl_close($this->curl);

        $this->cookies = array();
        $this->curl = $this->createCurlHandle();
    }
public function restart ( ) { curl_close ( $ this -> curl ) ; $ this -> cookies = array ( ) ; $ this -> curl = $ this -> createCurlHandle ( ) ; }
Reinitializes the client for a completely new session.
Reinitializes the client for a completely new session .