ProxyURIResolverT.getProxyUriAsync

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

More...
template ProxyURIResolverT(TStruct)
void
getProxyUriAsync
(
URI uri
,
MainContext asyncContext
,
Cancellable cancellable
,
SoupProxyURIResolverCallback callback
,
void* userData
)

Parameters

uri URI

the #SoupURI you want a proxy for

asyncContext MainContext

the #GMainContext to invoke @callback in

cancellable Cancellable

a #GCancellable, or %NULL

callback SoupProxyURIResolverCallback

callback to invoke with the proxy address

userData void*

data for @callback

Detailed Description

Deprecated: #SoupProxyURIResolver is deprecated in favor of #GProxyResolver

Meta

Since

2.26.3