src/php/DataSift/BrowserMobProxy/BrowserMobProxySession.php
public function setHttpBasicAuth($domain, $username, $password) {
        $this->requireOpenConnection();
        $this->requireFeature('authBasic');

        $response = $this->curl(
            'PUT',
            '/proxy/' . $this->port . '/auth/basic/' . urlencode($domain),
            array(
                'username' => $username,
                'password' => $password
            )
        );
    }
public function setHttpBasicAuth($domain, $username, $password) {
        $this->requireOpenConnection();
        $this->requireFeature('authBasic');

        $response = $this->curl(
            'PUT',
            '/proxy/' . $this->port . '/auth/basic/' . urlencode($domain),
            array(
                'username' => $username,
                'password' => $password
            )
        );
    }
public function setHttpBasicAuth ( $ domain , $ username , $ password ) { $ this -> requireOpenConnection ( ) ; $ this -> requireFeature ( 'authBasic' ) ; $ response = $ this -> curl ( 'PUT' , '/proxy/' . $ this -> port . '/auth/basic/' . urlencode ( $ domain ) , array ( 'username' => $ username , 'password' => $ password ) ) ; }
enable HTTP BASIC auth

@param string $domain
the DNS domain to send HTTP BASIC auth info to
@param $username
the username to send to the web server
@param string $password
the password to send to the web server
enable HTTP BASIC auth