gi-soup-2.4.14: Libsoup bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Soup.Objects.CookieJarText

Contents

Description

 

Synopsis

Exported types

Methods

new

cookieJarTextNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Text

filename: the filename to read to/write from

-> Bool

readOnly: True if filename is read-only

-> m CookieJarText

Returns: the new CookieJar

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