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.GInterfaceStructure: Soup.ProxyURIResolverInterface-
get_proxy_uri_async(uri, async_context, cancellable, callback, *user_data)¶ Parameters: - uri (
Soup.URI) – theSoup.URIyou want a proxy for - async_context (
GLib.MainContextorNone) – theGLib.MainContextto invoke callback in - cancellable (
Gio.CancellableorNone) – aGio.Cancellable, orNone - callback (
Soup.ProxyURIResolverCallback) – callback to invoke with the proxy address - user_data (
objectorNone) – data for callback
Asynchronously determines a proxy URI to use for msg and calls callback.
New in version 2.26.3.
Deprecated since version ???:
Soup.ProxyURIResolveris deprecated in favor ofGio.ProxyResolver- uri (
-
get_proxy_uri_sync(uri, cancellable)¶ Parameters: - uri (
Soup.URI) – theSoup.URIyou want a proxy for - cancellable (
Gio.CancellableorNone) – aGio.Cancellable, orNone
Returns: Soup.Status.OKif successful, or a transport-level error.proxy_uri: on return, will contain the proxy URI Return type: 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.ProxyURIResolveris deprecated in favor ofGio.ProxyResolver- uri (
-
do_get_proxy_uri_async(uri, async_context, cancellable, callback, *user_data) virtual¶ Parameters: - uri (
Soup.URI) – theSoup.URIyou want a proxy for - async_context (
GLib.MainContextorNone) – theGLib.MainContextto invoke callback in - cancellable (
Gio.CancellableorNone) – aGio.Cancellable, orNone - callback (
Soup.ProxyURIResolverCallback) – callback to invoke with the proxy address - user_data (
objectorNone) – data for callback
Asynchronously determines a proxy URI to use for msg and calls callback.
New in version 2.26.3.
Deprecated since version ???:
Soup.ProxyURIResolveris deprecated in favor ofGio.ProxyResolver- uri (
-
do_get_proxy_uri_sync(uri, cancellable) virtual¶ Parameters: - uri (
Soup.URI) – theSoup.URIyou want a proxy for - cancellable (
Gio.CancellableorNone) – aGio.Cancellable, orNone
Returns: Soup.Status.OKif successful, or a transport-level error.proxy_uri: on return, will contain the proxy URI Return type: 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.ProxyURIResolveris deprecated in favor ofGio.ProxyResolver- uri (
-