set_enable_proxy


Description:

[ Version ( since = "2.26" ) ]
public void set_enable_proxy (bool enable)

Sets whether or not this attempts to make connections via a proxy server.

When enabled (the default), SocketClient will use a ProxyResolver to determine if a proxy protocol such as SOCKS is needed, and automatically do the necessary proxy negotiation.

See also set_proxy_resolver.

Parameters:

this

a SocketClient.

enable

whether to enable proxies