phprs\util\Curl::reset PHP Метод

reset() публичный Метод

public reset ( )
    public function reset()
    {
        curl_close($this->ch);
        $this->ch = curl_init();
        if (!file_exists('/dev/null')) {
            curl_setopt($this->ch, CURLOPT_COOKIEJAR, 'NUL');
        } else {
            curl_setopt($this->ch, CURLOPT_COOKIEJAR, '/dev/null');
        }
    }