AcceptAllCookiesStorage

CookiesStorage that stores all the cookies in an in-memory map.

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
open suspend override fun addCookie(requestUrl: Url, cookie: Cookie)

Sets a cookie for the specified host.

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

Gets a map of String to Cookie for a specific host.

Extensions

Link copied to clipboard
suspend fun CookiesStorage.addCookie(urlString: String, cookie: Cookie)

Adds a cookie with the urlString key to storage.