src/Net/Http/Client.php
public function setProxy($host, $port=false)
	{
		$this->options[CURLOPT_PROXY] = $host;

		if ($port) {
			$this->options[CURLOPT_PROXYPORT] = $port;
		}
	}
public function setProxy($host, $port=false)
	{
		$this->options[CURLOPT_PROXY] = $host;

		if ($port) {
			$this->options[CURLOPT_PROXYPORT] = $port;
		}
	}
public function setProxy ( $ host , $ port = false ) { $ this -> options [ CURLOPT_PROXY ] = $ host ; if ( $ port ) { $ this -> options [ CURLOPT_PROXYPORT ] = $ port ; } }
Push outgoing requests through the specified proxy server.

@param string $host
@param int $port
Push outgoing requests through the specified proxy server .