CookieJarText


Description:

[ 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.)

Parameters:

filename

the filename to read to/write from

read_only

true if filename is read-only

Returns:

the new CookieJar




2022 vala-language.org