src/php/DataSift/BrowserMobProxy/BrowserMobProxySession.php
public function setHeaders($headers)
    {
        $this->requireOpenConnection();

        $response = $this->curl(
            'POST',
            '/proxy/' . $this->port . '/headers',
            (object)$headers
        );
    }
public function setHeaders($headers)
    {
        $this->requireOpenConnection();

        $response = $this->curl(
            'POST',
            '/proxy/' . $this->port . '/headers',
            (object)$headers
        );
    }
public function setHeaders ( $ headers ) { $ this -> requireOpenConnection ( ) ; $ response = $ this -> curl ( 'POST' , '/proxy/' . $ this -> port . '/headers' , ( object ) $ headers ) ; }
inject a set of headers into all subsequent requests

@param array(string => string) $headers
a list of headers to inject, with the array key being the name
of the header, and the array value being the value of the header

@return void
inject a set of headers into all subsequent requests