public function enableSSL($strict = false)
    {
        $this->setScheme(self::SCHEME_SSL);
        if ($strict === false) {
            $this->setOption(CURLOPT_SSL_VERIFYPEER, 0);
            $this->setOption(CURLOPT_SSL_VERIFYHOST, 0);
        } else {
            $this->setOption(CURLOPT_SSL_VERIFYPEER, 0);
            $this->setOption(CURLOPT_SSL_VERIFYHOST, 1);
        }
    }
public function enableSSL($strict = false)
    {
        $this->setScheme(self::SCHEME_SSL);
        if ($strict === false) {
            $this->setOption(CURLOPT_SSL_VERIFYPEER, 0);
            $this->setOption(CURLOPT_SSL_VERIFYHOST, 0);
        } else {
            $this->setOption(CURLOPT_SSL_VERIFYPEER, 0);
            $this->setOption(CURLOPT_SSL_VERIFYHOST, 1);
        }
    }
public function enableSSL ( $ strict = false ) { $ this -> setScheme ( self :: SCHEME_SSL ) ; if ( $ strict === false ) { $ this -> setOption ( CURLOPT_SSL_VERIFYPEER , 0 ) ; $ this -> setOption ( CURLOPT_SSL_VERIFYHOST , 0 ) ; } else { $ this -> setOption ( CURLOPT_SSL_VERIFYPEER , 0 ) ; $ this -> setOption ( CURLOPT_SSL_VERIFYHOST , 1 ) ; } }
Enables ssl for the connection

@param bool $strict optional value if ssl should be strict (check server certificate)

@return void
Enables ssl for the connection