add_cookie


Description:

public void add_cookie (owned Cookie cookie)

Adds cookie to this.

Emits the [signal@CookieJar:SoupCookieJar: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