Package-level declarations

Types

Link copied to clipboard
external interface Cookie

Interface that encapsulates all cookies interactions

Link copied to clipboard
external interface CookieAttribute

Cookie attributes that can be passed in Cookie.remove, Cookie.set or Cookie.get methods

Link copied to clipboard
sealed class CookieKeys

Class that encapsulates the cookie information

Properties

Link copied to clipboard

Object that manages cookies

Functions

Link copied to clipboard

Accept cookies

Link copied to clipboard

Decline cookies and delete existed once

Link copied to clipboard
Link copied to clipboard

Get preferred platform language code

Link copied to clipboard

Check if cookies are accepted by user

Link copied to clipboard
Link copied to clipboard
fun Cookie.saveLanguageCode(languageCode: String)

Save preferred platform language code

Link copied to clipboard
fun Cookie.set(key: CookieKeys, value: String)