NetworkProxySettings

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_NETWORK_PROXY_MODE_CUSTOM and a WebKitNetworkProxySettings.

Constructors

this
this(WebKitNetworkProxySettings* webKitNetworkProxySettings, bool ownedRef)

Sets our main struct and passes it to the parent class.

this
this(string defaultProxyUri, string[] ignoreHosts)

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

Destructor

~this
~this()
Undocumented in source.

Members

Functions

addProxyForScheme
void addProxyForScheme(string scheme, string proxyUri)

Adds a URI-scheme-specific proxy. URIs whose scheme matches @uri_scheme will be proxied via @proxy_uri. As with the default proxy URI, if @proxy_uri starts with "socks://", it will be treated as referring to all three of the socks5, socks4a, and socks4 proxy types.

copy
NetworkProxySettings copy()

Make a copy of the #WebKitNetworkProxySettings.

free
void free()

Free the #WebKitNetworkProxySettings.

getNetworkProxySettingsStruct
WebKitNetworkProxySettings* getNetworkProxySettingsStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

Static functions

getType
GType getType()

Variables

ownedRef
bool ownedRef;
Undocumented in source.
webKitNetworkProxySettings
WebKitNetworkProxySettings* webKitNetworkProxySettings;

the main Gtk struct

Meta

Since

2.16