Config

class Config

Constructors

<init>

Config()

Properties

storage

var storage: CookiesStorage

CookiesStorage that will be used at this feature. By default it just uses an initially empty in-memory AcceptAllCookiesStorage.

Functions

default

fun default(block: CookiesStorage.() -> Unit): Unit

Registers a block that will be called when the configuration is complete the specified storage. The block can potentially add new cookies by calling CookiesStorage.addCookie.