SocketClient.setEnableProxy

void setEnableProxy(bool enable)

Sets whether or not client attempts to make connections via a proxy server. When enabled (the default), #GSocketClient will use a #GProxyResolver to determine if a proxy protocol such as SOCKS is needed, and automatically do the necessary proxy negotiation.

See also [gio.socket_client.SocketClient.setProxyResolver].

Parameters

enablewhether to enable proxies