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

GI.Soup.Objects.ProxyResolverDefault

Description

ProxyResolverDefault is a <type>SoupProxyURIResolver</type> implementation that uses the default gio ProxyResolver to resolve proxies.

In libsoup 2.44 and later, you can set the session's Session:proxy-resolver property to the resolver returned by proxyResolverGetDefault to get the same effect. Note that for "plain" SoupSessions (ie, not SessionAsync or SessionSync), this is done for you automatically.

Since: 2.34

Synopsis

Exported types

newtype ProxyResolverDefault Source #

Memory-managed wrapper type.

Constructors

ProxyResolverDefault (ManagedPtr ProxyResolverDefault) 

class (GObject o, IsDescendantOf ProxyResolverDefault o) => IsProxyResolverDefault o Source #

Type class for types which can be safely cast to ProxyResolverDefault, for instance with toProxyResolverDefault.

Instances

Instances details
(GObject o, IsDescendantOf ProxyResolverDefault o) => IsProxyResolverDefault o Source # 
Instance details

Defined in GI.Soup.Objects.ProxyResolverDefault

toProxyResolverDefault :: (MonadIO m, IsProxyResolverDefault o) => o -> m ProxyResolverDefault Source #

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

Methods

Properties

gproxyResolver

No description available in the introspection data.

clearProxyResolverDefaultGproxyResolver :: (MonadIO m, IsProxyResolverDefault o) => o -> m () Source #

Set the value of the “gproxy-resolver” property to Nothing. When overloading is enabled, this is equivalent to

clear #gproxyResolver

constructProxyResolverDefaultGproxyResolver :: (IsProxyResolverDefault o, MonadIO m, IsProxyResolver a) => a -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “gproxy-resolver” property. This is rarely needed directly, but it is used by new.

setProxyResolverDefaultGproxyResolver :: (MonadIO m, IsProxyResolverDefault o, IsProxyResolver a) => o -> a -> m () Source #

Set the value of the “gproxy-resolver” property. When overloading is enabled, this is equivalent to

set proxyResolverDefault [ #gproxyResolver := value ]