Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- newtype CookieJarDB = CookieJarDB (ManagedPtr CookieJarDB)
- class GObject o => IsCookieJarDB o
- toCookieJarDB :: IsCookieJarDB o => o -> IO CookieJarDB
- noCookieJarDB :: Maybe CookieJarDB
- cookieJarDBNew :: (HasCallStack, MonadIO m) => Text -> Bool -> m CookieJarDB
- data CookieJarDBFilenamePropertyInfo
- constructCookieJarDBFilename :: IsCookieJarDB o => Text -> IO (GValueConstruct o)
- cookieJarDBFilename :: AttrLabelProxy "filename"
- getCookieJarDBFilename :: (MonadIO m, IsCookieJarDB o) => o -> m (Maybe Text)
Exported types
newtype CookieJarDB Source #
GObject CookieJarDB Source # | |
IsObject CookieJarDB Source # | |
IsCookieJar CookieJarDB Source # | |
IsSessionFeature CookieJarDB Source # | |
IsCookieJarDB CookieJarDB Source # | |
((~) * info (ResolveCookieJarDBMethod t CookieJarDB), MethodInfo * info CookieJarDB p) => IsLabel t (CookieJarDB -> p) Source # | |
((~) * info (ResolveCookieJarDBMethod t CookieJarDB), MethodInfo * info CookieJarDB p) => IsLabelProxy t (CookieJarDB -> p) Source # | |
HasAttributeList * CookieJarDB Source # | |
type AttributeList CookieJarDB Source # | |
type SignalList CookieJarDB Source # | |
class GObject o => IsCookieJarDB o Source #
toCookieJarDB :: IsCookieJarDB o => o -> IO CookieJarDB Source #
Methods
new
:: (HasCallStack, MonadIO m) | |
=> Text |
|
-> Bool |
|
-> m CookieJarDB | Returns: the new |
Creates a CookieJarDB
.
filename
will be read in at startup to create an initial set of
cookies. If readOnly
is False
, then the non-session cookies will
be written to filename
when the 'changed' signal is emitted from
the jar. (If readOnly
is True
, then the cookie jar will only be
used for this session, and changes made to it will be lost when the
jar is destroyed.)
Since: 2.42
Properties
filename
data CookieJarDBFilenamePropertyInfo Source #
constructCookieJarDBFilename :: IsCookieJarDB o => Text -> IO (GValueConstruct o) Source #
cookieJarDBFilename :: AttrLabelProxy "filename" Source #
getCookieJarDBFilename :: (MonadIO m, IsCookieJarDB o) => o -> m (Maybe Text) Source #