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 |
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.
SessionFeature (ManagedPtr SessionFeature) |
Instances
Eq SessionFeature Source # | |
Defined in GI.Soup.Interfaces.SessionFeature (==) :: SessionFeature -> SessionFeature -> Bool # (/=) :: SessionFeature -> SessionFeature -> Bool # | |
GObject SessionFeature Source # | |
Defined in GI.Soup.Interfaces.SessionFeature | |
ManagedPtrNewtype SessionFeature Source # | |
Defined in GI.Soup.Interfaces.SessionFeature toManagedPtr :: SessionFeature -> ManagedPtr SessionFeature | |
TypedObject SessionFeature Source # | |
Defined in GI.Soup.Interfaces.SessionFeature | |
HasParentTypes SessionFeature Source # | |
Defined in GI.Soup.Interfaces.SessionFeature | |
IsGValue (Maybe SessionFeature) Source # | Convert |
Defined in GI.Soup.Interfaces.SessionFeature gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe SessionFeature -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe SessionFeature) | |
type ParentTypes SessionFeature Source # | |
Defined in GI.Soup.Interfaces.SessionFeature type ParentTypes SessionFeature = '[Object] |
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.