protected function init()
    {
        $handle = curl_init();

        $this->handle = $handle;

        $this->setSerializer(new DefaultSerializer());
        $this->scheme = self::SCHEME_PLAIN;
        $this->httpOptions = array();
        $this->httpOptions[CURLOPT_RETURNTRANSFER] = true;
        $this->httpOptions[CURLOPT_FOLLOWLOCATION] = false;
    }
protected function init()
    {
        $handle = curl_init();

        $this->handle = $handle;

        $this->setSerializer(new DefaultSerializer());
        $this->scheme = self::SCHEME_PLAIN;
        $this->httpOptions = array();
        $this->httpOptions[CURLOPT_RETURNTRANSFER] = true;
        $this->httpOptions[CURLOPT_FOLLOWLOCATION] = false;
    }
protected function init ( ) { $ handle = curl_init ( ) ; $ this -> handle = $ handle ; $ this -> setSerializer ( new DefaultSerializer ( ) ) ; $ this -> scheme = self :: SCHEME_PLAIN ; $ this -> httpOptions = array ( ) ; $ this -> httpOptions [ CURLOPT_RETURNTRANSFER ] = true ; $ this -> httpOptions [ CURLOPT_FOLLOWLOCATION ] = false ; }
initialize default values

@return void
@throws Exceptions\ServerErrorException
initialize default values