Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
GI.Soup.Interfaces.SessionFeature
Contents
Description
Interface for miscellaneous [classsession
] features.
SessionFeature
is the interface used by classes that extend
the functionality of a [classsession
]. Some features like HTTP
authentication handling are implemented internally via
SoupSessionFeature
s. Other features can be added to the session
by the application. (Eg, [classlogger
], [classcookieJar
].)
See [methodsession
.add_feature], etc, to add a feature to a session.
Synopsis
- newtype SessionFeature = SessionFeature (ManagedPtr SessionFeature)
- class (GObject o, IsDescendantOf SessionFeature o) => IsSessionFeature o
- toSessionFeature :: (MonadIO m, IsSessionFeature o) => o -> m SessionFeature
Exported types
newtype SessionFeature Source #
Memory-managed wrapper type.
Constructors
SessionFeature (ManagedPtr SessionFeature) |
Instances
class (GObject o, IsDescendantOf SessionFeature o) => IsSessionFeature o Source #
Type class for types which can be safely cast to SessionFeature
, for instance with toSessionFeature
.
Instances
(GObject o, IsDescendantOf SessionFeature o) => IsSessionFeature o Source # | |
Defined in GI.Soup.Interfaces.SessionFeature |
toSessionFeature :: (MonadIO m, IsSessionFeature o) => o -> m SessionFeature Source #
Cast to SessionFeature
, 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
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getData, getProperty, getQdata.