1.15 <SoupCookieJarText>

Class: <SoupCookieJarText>

It derives from <SoupCookieJar>.

Text-file-based ("cookies.txt") Cookie Jar

CookieJarText is a CookieJar that reads cookies from and writes them to a text file in format similar to Mozilla’s "cookies.txt".

Properties

Cookie-storage filename.

Its value is a string, or #f.

It can only be set when the object is made, with #:filename.

Procedures

Creates a CookieJarText.

filename will be read in at startup to create an initial set of cookies. If read-only is #f, then the non-session cookies will be written to filename when the "changed" signal is emitted from the jar. (If read-only is #t, 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

Passed: a string.

the filename to read to/write from

read-only

Passed: a boolean.

#t if filename is read-only

%return

Returned: a <SoupCookieJar>.

the new <SoupCookieJar>