Config

class Config

A configuration for the HttpCookies plugin.

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

Specifies a storage used to keep cookies between calls. By default, it uses an initially empty in-memory AcceptAllCookiesStorage.