SimpleProxyResolver.this

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

  1. this(GSimpleProxyResolver* gSimpleProxyResolver, bool ownedRef)
  2. this(string defaultProxy, string[] ignoreHosts)
    class SimpleProxyResolver
    this
    (,
    string[] ignoreHosts
    )

Parameters

defaultProxy string

the default proxy to use, eg "socks://192.168.1.1"

ignoreHosts string[]

an optional list of hosts/IP addresses to not use a proxy for.

Return Value

a new #GSimpleProxyResolver

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.36