SocketClient.setEnableProxy

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

See also Socket.clientSetProxyResolver.

class SocketClient
void
setEnableProxy
(
bool enable
)

Parameters

enable bool

whether to enable proxies

Meta

Since

2.26