Given connection to communicate with a proxy (eg, a gio.SocketConnection that is connected to the proxy server), this does the necessary handshake to connect to proxy_address, and if required, wraps the gio.IOStream to handle proxy payload.
a gio.IOStream
a gio.ProxyAddress
a gio.Cancellable
a gio.IOStream that will replace connection. This might be the same as connection, in which case a reference will be added.
GException on failure.
2.26
Given connection to communicate with a proxy (eg, a gio.SocketConnection that is connected to the proxy server), this does the necessary handshake to connect to proxy_address, and if required, wraps the gio.IOStream to handle proxy payload.