SimpleProxyResolver.newSimpleProxyResolver

Creates a new GSimpleProxyResolver. See "default-proxy" and "ignore-hosts" for more details on how the arguments are interpreted. Since 2.36

class SimpleProxyResolver
static
newSimpleProxyResolver
(,)

Parameters

defaultProxy string

the default proxy to use, eg "socks://192.168.1.1". [allow-none]

ignoreHosts char**

an optional list of hosts/IP addresses to not use a proxy for. [allow-none]

Return Value

a new GSimpleProxyResolver

Meta