CookieJar
Automatic cookie handling for SoupSession.
A #SoupCookieJar stores struct@Cookies and arrange for them to be sent with the appropriate class@Messages. #SoupCookieJar implements iface@SessionFeature, so you can add a cookie jar to a session with method@Session.add_feature or method@Session.add_feature_by_type.
Note that the base #SoupCookieJar class does not support any form of long-term cookie persistence.
Skipped during bindings generation
method
read-only
: Property has no getter nor setter
Inheritors
Constructors
Properties
The policy the jar should follow to accept or reject cookies.
Functions
Adds @cookie to @jar.
Adds @cookie to @jar.
Constructs a struct@GLib.List with every cookie inside the @jar.
Emitted when @jar changes.
Deletes @cookie from @jar.
Retrieves the list of cookies that would be sent with a request to @uri as a struct@GLib.List of #SoupCookie objects.
This is an extended version of method@CookieJar.get_cookie_list that provides more information required to use SameSite cookies.
Retrieves (in Cookie-header form) the list of cookies that would be sent with a request to @uri.
Gets whether @jar stores cookies persistenly.
Adds @cookie to @jar, exactly as though it had appeared in a Set-Cookie header returned from a request to @uri.