public function setDefaultOptions()
    {
        curl_setopt_array($this->curl, [
            CURLOPT_TIMEOUT        => $this->timeout,
            CURLOPT_NOSIGNAL       => $this->nosignal,
            CURLOPT_FILETIME       => $this->fileTime,
            CURLOPT_USERAGENT      => $this->userAgent,
            CURLOPT_HEADER         => $this->header,
            CURLOPT_HTTPHEADER     => $this->headers,
            CURLOPT_RETURNTRANSFER => $this->returnTransfer,
            CURLOPT_SSL_VERIFYPEER => $this->sslVerifyPeer,
            CURLOPT_SSL_VERIFYHOST => $this->sslVerifyHost,
            CURLOPT_FRESH_CONNECT  => $this->freshConnect
        ]);
    }
public function setDefaultOptions()
    {
        curl_setopt_array($this->curl, [
            CURLOPT_TIMEOUT        => $this->timeout,
            CURLOPT_NOSIGNAL       => $this->nosignal,
            CURLOPT_FILETIME       => $this->fileTime,
            CURLOPT_USERAGENT      => $this->userAgent,
            CURLOPT_HEADER         => $this->header,
            CURLOPT_HTTPHEADER     => $this->headers,
            CURLOPT_RETURNTRANSFER => $this->returnTransfer,
            CURLOPT_SSL_VERIFYPEER => $this->sslVerifyPeer,
            CURLOPT_SSL_VERIFYHOST => $this->sslVerifyHost,
            CURLOPT_FRESH_CONNECT  => $this->freshConnect
        ]);
    }
public function setDefaultOptions ( ) { curl_setopt_array ( $ this -> curl , [ CURLOPT_TIMEOUT => $ this -> timeout , CURLOPT_NOSIGNAL => $ this -> nosignal , CURLOPT_FILETIME => $ this -> fileTime , CURLOPT_USERAGENT => $ this -> userAgent , CURLOPT_HEADER => $ this -> header , CURLOPT_HTTPHEADER => $ this -> headers , CURLOPT_RETURNTRANSFER => $ this -> returnTransfer , CURLOPT_SSL_VERIFYPEER => $ this -> sslVerifyPeer , CURLOPT_SSL_VERIFYHOST => $ this -> sslVerifyHost , CURLOPT_FRESH_CONNECT => $ this -> freshConnect ] ) ; }
Default cURL options

@return void
Default cURL options