Soup.ProxyURIResolver¶
- Implementations:
 
Methods¶
  | 
|
  | 
Virtual Methods¶
  | 
|
  | 
Properties¶
None
Signals¶
None
Fields¶
None
Class Details¶
- class Soup.ProxyURIResolver¶
 - Bases:
 - Structure:
 
- get_proxy_uri_async(uri, async_context, cancellable, callback, *user_data)¶
 - Parameters:
 async_context (
GLib.MainContextorNone) – theGLib.MainContextto invoke callback incancellable (
Gio.CancellableorNone) – aGio.Cancellable, orNonecallback (
Soup.ProxyURIResolverCallback) – callback to invoke with the proxy address
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
- get_proxy_uri_sync(uri, cancellable)¶
 - Parameters:
 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
- do_get_proxy_uri_async(uri, async_context, cancellable, callback, *user_data) virtual¶
 - Parameters:
 async_context (
GLib.MainContextorNone) – theGLib.MainContextto invoke callback incancellable (
Gio.CancellableorNone) – aGio.Cancellable, orNonecallback (
Soup.ProxyURIResolverCallback) – callback to invoke with the proxy address
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
- do_get_proxy_uri_sync(uri, cancellable) virtual¶
 - Parameters:
 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