add_cookie


Description:

[ Version ( since = "2.26" ) ]
public void add_cookie (owned Cookie cookie)

Adds cookie to this, emitting the '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).

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

Parameters:

this

a CookieJar

cookie

a Cookie




2022 vala-language.org