CookieJar.addCookieFull

void addCookieFull(soup.cookie.Cookie cookie, glib.uri.Uri uri = null, glib.uri.Uri firstParty = null)

Adds cookie to jar.

Emits the signalCookieJar::changed signal if we are modifying an existing cookie or adding a valid new cookie ('valid' means that the cookie's expire date is not in the past).

first_party will be used to reject cookies coming from third party resources in case such a security policy is set in the jar.

uri will be used to reject setting or overwriting secure cookies from insecure origins. null is treated as secure.

cookie will be 'stolen' by the jar, so don't free it afterwards.

Parameters

cookiea #SoupCookie
urithe URI setting the cookie
firstPartythe URI for the main document