Soup.ProxyURIResolver

g GObject.GInterface GObject.GInterface Soup.ProxyURIResolver Soup.ProxyURIResolver GObject.GInterface->Soup.ProxyURIResolver

Implementations:

Soup.ProxyResolverDefault

Methods

get_proxy_uri_async (uri, async_context, cancellable, callback, *user_data)

get_proxy_uri_sync (uri, cancellable)

Virtual Methods

do_get_proxy_uri_async (uri, async_context, cancellable, callback, *user_data)

do_get_proxy_uri_sync (uri, cancellable)

Properties

None

Signals

None

Fields

None

Class Details

class Soup.ProxyURIResolver
Bases:

GObject.GInterface

Structure:

Soup.ProxyURIResolverInterface

get_proxy_uri_async(uri, async_context, cancellable, callback, *user_data)
Parameters:

Asynchronously determines a proxy URI to use for msg and calls callback.

New in version 2.26.3.

Deprecated since version ???: Soup.ProxyURIResolver is deprecated in favor of Gio.ProxyResolver

get_proxy_uri_sync(uri, cancellable)
Parameters:
Returns:

Soup.Status.OK if successful, or a transport-level error.

proxy_uri:

on return, will contain the proxy URI

Return type:

(int, proxy_uri: Soup.URI)

Synchronously determines a proxy URI to use for uri. If uri should be sent via proxy, proxy_uri will be set to the URI of the proxy, else it will be set to None.

New in version 2.26.3.

Deprecated since version ???: Soup.ProxyURIResolver is deprecated in favor of Gio.ProxyResolver

do_get_proxy_uri_async(uri, async_context, cancellable, callback, *user_data) virtual
Parameters:

Asynchronously determines a proxy URI to use for msg and calls callback.

New in version 2.26.3.

Deprecated since version ???: Soup.ProxyURIResolver is deprecated in favor of Gio.ProxyResolver

do_get_proxy_uri_sync(uri, cancellable) virtual
Parameters:
Returns:

Soup.Status.OK if successful, or a transport-level error.

proxy_uri:

on return, will contain the proxy URI

Return type:

(int, proxy_uri: Soup.URI)

Synchronously determines a proxy URI to use for uri. If uri should be sent via proxy, proxy_uri will be set to the URI of the proxy, else it will be set to None.

New in version 2.26.3.

Deprecated since version ???: Soup.ProxyURIResolver is deprecated in favor of Gio.ProxyResolver