Cookies
Functions
Link copied to clipboard
fun addListener(event: CookiesEvent.CHANGED, listener: (event: Event<*>, cookie: Cookie, cause: CookiesAddListenerListenerCause, removed: Boolean) -> Unit)
Link copied to clipboard
Link copied to clipboard
A promise which resolves when the cookie store has been flushed
Link copied to clipboard
A promise which resolves an array of cookie objects.
Link copied to clipboard
Link copied to clipboard
fun off(event: CookiesEvent.CHANGED, listener: (event: Event<*>, cookie: Cookie, cause: CookiesOffListenerCause, removed: Boolean) -> Unit)
Link copied to clipboard
fun on(event: CookiesEvent.CHANGED, listener: (event: Event<*>, cookie: Cookie, cause: CookiesOnListenerCause, removed: Boolean) -> Unit)
Emitted when a cookie is changed because it was added, edited, removed, or expired.
Link copied to clipboard
fun once(event: CookiesEvent.CHANGED, listener: (event: Event<*>, cookie: Cookie, cause: CookiesOnceListenerCause, removed: Boolean) -> Unit)
Link copied to clipboard
fun removeListener(event: CookiesEvent.CHANGED, listener: (event: Event<*>, cookie: Cookie, cause: CookiesRemoveListenerListenerCause, removed: Boolean) -> Unit)
Link copied to clipboard
A promise which resolves when the cookie has been set
Link copied to clipboard