public function set_proxy($proxy)
    {
        $proxy = parse_url($proxy);
        $proxy['user'] = isset($proxy['user']) ? $proxy['user'] : null;
        $proxy['pass'] = isset($proxy['pass']) ? $proxy['pass'] : null;
        $proxy['port'] = isset($proxy['port']) ? $proxy['port'] : null;
        $this->proxy = $proxy;
        return $this;
    }
public function set_proxy($proxy)
    {
        $proxy = parse_url($proxy);
        $proxy['user'] = isset($proxy['user']) ? $proxy['user'] : null;
        $proxy['pass'] = isset($proxy['pass']) ? $proxy['pass'] : null;
        $proxy['port'] = isset($proxy['port']) ? $proxy['port'] : null;
        $this->proxy = $proxy;
        return $this;
    }
public function set_proxy ( $ proxy ) { $ proxy = parse_url ( $ proxy ) ; $ proxy [ 'user' ] = isset ( $ proxy [ 'user' ] ) ? $ proxy [ 'user' ] : null ; $ proxy [ 'pass' ] = isset ( $ proxy [ 'pass' ] ) ? $ proxy [ 'pass' ] : null ; $ proxy [ 'port' ] = isset ( $ proxy [ 'port' ] ) ? $ proxy [ 'port' ] : null ; $ this -> proxy = $ proxy ; return $ this ; }
Set the proxy to use for making requests.

@param string $proxy (Required) The faux-url to use for proxy settings. Takes the following format: `proxy://user:pass@hostname:port`
@return $this A reference to the current instance.
Set the proxy to use for making requests .