HttpCookies

A plugin that allows you to keep cookies between calls in a storage. By default, it uses an in-memory storage, but you can also implement a persistent storage using CookiesStorage.

You can learn more from Cookies.

Types

Link copied to clipboard
Link copied to clipboard
class Config

A configuration for the HttpCookies plugin.

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
suspend fun get(requestUrl: Url): List<Cookie>

Gets all the cookies associated with a specific requestUrl.