be the same as connection, in which case a reference will be added.
Proxy.connect
gio.iostream.IOStream connect(gio.iostream.IOStream connection, gio.proxy_address.ProxyAddress proxyAddress, gio.cancellable.Cancellable cancellable = null)Given connection to communicate with a proxy (eg, a #GSocketConnection that is connected to the proxy server), this does the necessary handshake to connect to proxy_address, and if required, wraps the #GIOStream to handle proxy payload.
Parameters
connection | a #GIOStream |
proxyAddress | a #GProxyAddress |
cancellable | a #GCancellable |
Returns
a #GIOStream that will replace connection. This might
Throws
[ErrorWrap]