HttpCookies
class HttpCookies(storage: CookiesStorage, defaults: List<suspend CookiesStorage.() -> Unit>) : Closeable
Content copied to clipboard
HttpClient plugin that handles sent Cookie
, and received Set-Cookie
headers, using a specific storage for storing and retrieving cookies.
You can configure the Config.storage and to provide Config.default blocks to set cookies when installing.
Constructors
Link copied to clipboard
fun HttpCookies(storage: CookiesStorage, defaults: List<suspend CookiesStorage.() -> Unit>)
Content copied to clipboard