Config

class Config

HttpCookies configuration.

Constructors

Link copied to clipboard
fun Config()

Functions

Link copied to clipboard
fun default(block: suspend CookiesStorage.() -> 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.

Properties

Link copied to clipboard
var storage: CookiesStorage

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