src/Guzzle/Stream/PhpStreamRequestFactory.php
protected function addProxyOptions(RequestInterface $request)
    {
        if ($proxy = $request->getCurlOptions()->get(CURLOPT_PROXY)) {
            $this->setContextValue('http', 'proxy', $proxy);
        }
    }
protected function addProxyOptions(RequestInterface $request)
    {
        if ($proxy = $request->getCurlOptions()->get(CURLOPT_PROXY)) {
            $this->setContextValue('http', 'proxy', $proxy);
        }
    }
protected function addProxyOptions ( RequestInterface $ request ) { if ( $ proxy = $ request -> getCurlOptions ( ) -> get ( CURLOPT_PROXY ) ) { $ this -> setContextValue ( 'http' , 'proxy' , $ proxy ) ; } }
Add proxy parameters to the context if needed

@param RequestInterface $request Request
Add proxy parameters to the context if needed