Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
- newtype ProxyResolverDefault = ProxyResolverDefault (ManagedPtr ProxyResolverDefault)
- class (GObject o, IsDescendantOf ProxyResolverDefault o) => IsProxyResolverDefault o
- toProxyResolverDefault :: (MonadIO m, IsProxyResolverDefault o) => o -> m ProxyResolverDefault
- clearProxyResolverDefaultGproxyResolver :: (MonadIO m, IsProxyResolverDefault o) => o -> m ()
- constructProxyResolverDefaultGproxyResolver :: (IsProxyResolverDefault o, MonadIO m, IsProxyResolver a) => a -> m (GValueConstruct o)
- setProxyResolverDefaultGproxyResolver :: (MonadIO m, IsProxyResolverDefault o, IsProxyResolver a) => o -> a -> m ()
Exported types
newtype ProxyResolverDefault Source #
Memory-managed wrapper type.
ProxyResolverDefault (ManagedPtr ProxyResolverDefault) |
Instances
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
(GObject o, IsDescendantOf ProxyResolverDefault o) => IsProxyResolverDefault o Source # | |
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
Click to display all available methods, including inherited ones
Methods
addFeature, attach, bindProperty, bindPropertyFull, detach, forceFloating, freezeNotify, getv, hasFeature, isFloating, notify, notifyByPspec, ref, refSink, removeFeature, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getData, getProperty, getProxyUriAsync, getProxyUriSync, getQdata.
Setters
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 ]