Config

class Config

A configuration for the HttpCookies plugin.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

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

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.