gi-soup-2.4.23: Libsoup bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Soup.Interfaces.ProxyURIResolver

Description

No description available in the introspection data.

Synopsis

Exported types

newtype ProxyURIResolver Source #

Memory-managed wrapper type.

Constructors

ProxyURIResolver (ManagedPtr ProxyURIResolver) 

Instances

Instances details
Eq ProxyURIResolver Source # 
Instance details

Defined in GI.Soup.Interfaces.ProxyURIResolver

GObject ProxyURIResolver Source # 
Instance details

Defined in GI.Soup.Interfaces.ProxyURIResolver

ManagedPtrNewtype ProxyURIResolver Source # 
Instance details

Defined in GI.Soup.Interfaces.ProxyURIResolver

TypedObject ProxyURIResolver Source # 
Instance details

Defined in GI.Soup.Interfaces.ProxyURIResolver

Methods

glibType :: IO GType

IsGValue ProxyURIResolver Source #

Convert ProxyURIResolver to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Soup.Interfaces.ProxyURIResolver

Methods

toGValue :: ProxyURIResolver -> IO GValue

fromGValue :: GValue -> IO ProxyURIResolver

HasParentTypes ProxyURIResolver Source # 
Instance details

Defined in GI.Soup.Interfaces.ProxyURIResolver

type ParentTypes ProxyURIResolver Source # 
Instance details

Defined in GI.Soup.Interfaces.ProxyURIResolver

type ParentTypes ProxyURIResolver = '[SessionFeature, Object]

class (GObject o, IsDescendantOf ProxyURIResolver o) => IsProxyURIResolver o Source #

Type class for types which can be safely cast to ProxyURIResolver, for instance with toProxyURIResolver.

Instances

Instances details
(GObject o, IsDescendantOf ProxyURIResolver o) => IsProxyURIResolver o Source # 
Instance details

Defined in GI.Soup.Interfaces.ProxyURIResolver

toProxyURIResolver :: (MonadIO m, IsProxyURIResolver o) => o -> m ProxyURIResolver Source #

Cast to ProxyURIResolver, for types for which this is known to be safe. For general casts, use castTo.

Methods

Overloaded 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 oftProxyResolver

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 oftProxyResolver

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