protected function addHeaders()
    {
        if (empty($this->headers)) {
            return $this;
        }

        $this->options[CURLOPT_HTTPHEADER] = $this->headers;
        return $this;
    }
protected function addHeaders()
    {
        if (empty($this->headers)) {
            return $this;
        }

        $this->options[CURLOPT_HTTPHEADER] = $this->headers;
        return $this;
    }
protected function addHeaders ( ) { if ( empty ( $ this -> headers ) ) { return $ this ; } $ this -> options [ CURLOPT_HTTPHEADER ] = $ this -> headers ; return $ this ; }
Adds extra headers to the cURL request

@return Eden\Curl\Index
Adds extra headers to the cURL request