get_proxy_uri_sync


Description:

[ Version ( deprecated = true , since = "2.26.3" ) ]
public abstract uint get_proxy_uri_sync (URI uri, Cancellable? cancellable, out URI proxy_uri)

Warning: get_proxy_uri_sync is deprecated.

Synchronously determines a proxy URI to use for uri.

Note:

ProxyURIResolver is deprecated in favor of ProxyResolver

If uri should be sent via proxy, *proxy_uri will be set to the URI of the proxy, else it will be set to null .

Parameters:

this

the ProxyURIResolver

uri

the URI you want a proxy for

cancellable

a Cancellable, or null

proxy_uri

on return, will contain the proxy URI

Returns:

OK if successful, or a transport-level error.