Class (GI Struct)

WebKit-6.0WebKitNetworkProxySettingsSince 2.16

Configures network proxies.

WebKitNetworkProxySettings can be used to provide a custom proxy configuration to a WebKit.NetworkSession. You need to call webkit_network_session_set_network_proxy_settings() with WebKit.NetworkProxyMode.CUSTOM and a WebKitNetworkProxySettings.

2.16

Index

Constructors

Properties

Methods

Constructors

Properties

Methods

  • 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.

    Parameters

    • scheme: string

      the URI scheme to add a proxy for

    • proxy_uri: string

      the proxy URI to use for uri_scheme

    Returns void