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 |
GI.Soup.Objects.CookieJarText
Description
- newtype CookieJarText = CookieJarText (ManagedPtr CookieJarText)
- class GObject o => IsCookieJarText o
- toCookieJarText :: (MonadIO m, IsCookieJarText o) => o -> m CookieJarText
- noCookieJarText :: Maybe CookieJarText
- cookieJarTextNew :: (HasCallStack, MonadIO m) => Text -> Bool -> m CookieJarText
- constructCookieJarTextFilename :: IsCookieJarText o => Text -> IO (GValueConstruct o)
- getCookieJarTextFilename :: (MonadIO m, IsCookieJarText o) => o -> m (Maybe Text)
Exported types
newtype CookieJarText Source #
Constructors
CookieJarText (ManagedPtr CookieJarText) |
class GObject o => IsCookieJarText o Source #
Instances
toCookieJarText :: (MonadIO m, IsCookieJarText o) => o -> m CookieJarText Source #
Methods
new
Arguments
:: (HasCallStack, MonadIO m) | |
=> Text |
|
-> Bool |
|
-> m CookieJarText | Returns: the new |
Creates a CookieJarText
.
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.26
Properties
filename
constructCookieJarTextFilename :: IsCookieJarText o => Text -> IO (GValueConstruct o) Source #
getCookieJarTextFilename :: (MonadIO m, IsCookieJarText o) => o -> m (Maybe Text) Source #