gi-soup-2.4.11: Libsoup bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Soup.Interfaces.ProxyURIResolver

Contents

Description

 

Synopsis

Exported types

Methods

getProxyUriAsync

proxyURIResolverGetProxyUriAsync Source #

Arguments

:: (HasCallStack, MonadIO m, IsProxyURIResolver a, IsCancellable b) 
=> a

proxyUriResolver: the ProxyURIResolver

-> URI

uri: the URI you want a proxy for

-> Maybe MainContext

asyncContext: the MainContext to invoke callback in

-> Maybe b

cancellable: a Cancellable, or Nothing

-> ProxyURIResolverCallback

callback: callback to invoke with the proxy address

-> m () 

Deprecated: ProxyURIResolver is deprecated in favor ofProxyResolver

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

Since: 2.26.3

getProxyUriSync

proxyURIResolverGetProxyUriSync Source #

Arguments

:: (HasCallStack, MonadIO m, IsProxyURIResolver a, IsCancellable b) 
=> a

proxyUriResolver: the ProxyURIResolver

-> URI

uri: the URI you want a proxy for

-> Maybe b

cancellable: a Cancellable, or Nothing

-> m (Word32, URI)

Returns: StatusOk if successful, or a transport-level error.

Deprecated: ProxyURIResolver is deprecated in favor ofProxyResolver

Synchronously determines a proxy URI to use for uri. If uri should be sent via proxy, *proxyUri will be set to the URI of the proxy, else it will be set to Nothing.

Since: 2.26.3