setProxySettings
Set the network proxy settings to be used by connections started in @session session.
By default %WEBKIT_NETWORK_PROXY_MODE_DEFAULT is used, which means that the system settings will be used (g_proxy_resolver_get_default()). If you want to override the system default settings, you can either use %WEBKIT_NETWORK_PROXY_MODE_NO_PROXY to make sure no proxies are used at all, or %WEBKIT_NETWORK_PROXY_MODE_CUSTOM to provide your own proxy settings. When @proxy_mode is %WEBKIT_NETWORK_PROXY_MODE_CUSTOM @proxy_settings must be a valid #WebKitNetworkProxySettings; otherwise, @proxy_settings must be null.
Since
2.40
Parameters
proxyMode
a #WebKitNetworkProxyMode
proxySettings
a #WebKitNetworkProxySettings, or null