NetworkProxySettings

Configures network proxies.

WebKitNetworkProxySettings can be used to provide a custom proxy configuration to a #WebKitWebContext. You need to call webkit_web_context_set_network_proxy_settings() with webkit.types.NetworkProxyMode.Custom and a WebKitNetworkProxySettings.

Constructors

this
this(void* ptr, Flag!"Take" take)
this
this(string defaultProxyUri, string[] ignoreHosts)

Create a new #WebKitNetworkProxySettings with the given default_proxy_uri and ignore_hosts.

Members

Functions

addProxyForScheme
void addProxyForScheme(string scheme, string proxyUri)

Adds a URI-scheme-specific proxy.

cPtr
void* cPtr(Flag!"Dup" dup)
copy
webkit.network_proxy_settings.NetworkProxySettings copy()

Make a copy of the #WebKitNetworkProxySettings.

self
NetworkProxySettings self()

Returns this, for use in with statements.

Properties

gType
GType gType [@property getter]

Static functions

getGType
GType getGType()

Inherited Members

From Boxed

cInstancePtr
void* cInstancePtr;

Pointer to the C boxed value

getType
GType getType()

Get the GType of this boxed type.

gType
GType gType [@property getter]

Boxed GType property.

self
Boxed self()

Convenience method to return this cast to a type. For use in D with statements.

copy_
void* copy_()

Make a copy of the wrapped C boxed data.

boxedCopy
void* boxedCopy(void* cBoxed)

Copy a C boxed value using g_boxed_copy.

boxedFree
void boxedFree(void* cBoxed)

Free a C boxed value using g_boxed_free.