ProxyURIResolverT.getProxyUriSync

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 %NULL.

More...
template ProxyURIResolverT(TStruct)
uint
getProxyUriSync
(
URI uri
,
Cancellable cancellable
,
out URI proxyUri
)

Parameters

uri URI

the #SoupURI you want a proxy for

cancellable Cancellable

a #GCancellable, or %NULL

proxyUri URI

on return, will contain the proxy URI

Return Value

Type: uint

%SOUP_STATUS_OK if successful, or a transport-level error.

Detailed Description

Deprecated: #SoupProxyURIResolver is deprecated in favor of #GProxyResolver

Meta

Since

2.26.3