src/Request.php
private function setDefaultOptions()
    {
        $this->setOptions([
            CURLOPT_SSL_VERIFYPEER => true,
            CURLOPT_HEADER => false,
            CURLOPT_RETURNTRANSFER => true, //=> return response instead of boolean
            CURLOPT_FAILONERROR => false //=> also return an error when there is a http error >= 400
        ]);
    }
private function setDefaultOptions()
    {
        $this->setOptions([
            CURLOPT_SSL_VERIFYPEER => true,
            CURLOPT_HEADER => false,
            CURLOPT_RETURNTRANSFER => true, //=> return response instead of boolean
            CURLOPT_FAILONERROR => false //=> also return an error when there is a http error >= 400
        ]);
    }
private function setDefaultOptions ( ) { $ this -> setOptions ( [ CURLOPT_SSL_VERIFYPEER => true , CURLOPT_HEADER => false , CURLOPT_RETURNTRANSFER => true , //=> return response instead of boolean CURLOPT_FAILONERROR => false //=> also return an error when there is a http error >= 400 ] ) ; }
Set default cURL options

@return void
Set default cURL options