addCookie

open fun addCookie(cookie: Cookie)

Adds @cookie to @jar.

Emits the signal@CookieJar::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).

Parameters

cookie

a #SoupCookie