private function setRequestHeaders($headers = array()) {
        foreach ($this->headers as $key => $value) {
            $headers[] = $key . ': ' . $value;
        }
        curl_setopt($this->request, CURLOPT_HTTPHEADER, $headers);
    }
private function setRequestHeaders($headers = array()) {
        foreach ($this->headers as $key => $value) {
            $headers[] = $key . ': ' . $value;
        }
        curl_setopt($this->request, CURLOPT_HTTPHEADER, $headers);
    }
private function setRequestHeaders ( $ headers = array ( ) ) { foreach ( $ this -> headers as $ key => $ value ) { $ headers [ ] = $ key . ': ' . $ value ; } curl_setopt ( $ this -> request , CURLOPT_HTTPHEADER , $ headers ) ; }
Formats and adds custom headers to the current request

@param array $headers
@return void
@access protected
Formats and adds custom headers to the current request