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.MainContext
orNone
) – theGLib.MainContext
to invoke callback incancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
callback (
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.ProxyURIResolver
is deprecated in favor ofGio.ProxyResolver
- get_proxy_uri_sync(uri, cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
- Returns:
Soup.Status.OK
if 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.ProxyURIResolver
is deprecated in favor ofGio.ProxyResolver
- do_get_proxy_uri_async(uri, async_context, cancellable, callback, *user_data) virtual¶
- Parameters:
async_context (
GLib.MainContext
orNone
) – theGLib.MainContext
to invoke callback incancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
callback (
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.ProxyURIResolver
is deprecated in favor ofGio.ProxyResolver
- do_get_proxy_uri_sync(uri, cancellable) virtual¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
- Returns:
Soup.Status.OK
if 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.ProxyURIResolver
is deprecated in favor ofGio.ProxyResolver