CookieJarText.this

Creates a #SoupCookieJarText.

@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 '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.)

  1. this(SoupCookieJarText* soupCookieJarText, bool ownedRef)
  2. this(string filename, bool readOnly)
    class CookieJarText
    this
    (
    string filename
    ,)

Parameters

filename string

the filename to read to/write from

readOnly bool

%TRUE if @filename is read-only

Return Value

the new #SoupCookieJar

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.26