[ CCode ( has_construct_function = false , type = "SoupCookieJar*" ) ]
public CookieJarText (string filename, bool read_only)
Creates a CookieJarText.
filename
will be read in at startup to create an initial set of cookies. If read_only
is
false, then the non-session cookies will be written to filename
when the [signal@CookieJar:
SoupCookieJarText:changed
] signal is emitted from the jar. (If read_only
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.)
filename |
the filename to read to/write from |
read_only |
true if |
the new CookieJar |