Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
interface CookieStorage
Link copied to clipboard

An RFC 6265 §5.3/§5.4 compliant cookie storage that scopes cookies by effective domain, path, and scheme (Secure flag). Cookies are only sent to origins that match the domain, path, and scheme under which they were set.

Link copied to clipboard

A global cookie jar with no domain, path, or scheme scoping. Cookies stored here are sent to every outgoing request regardless of origin, which can cause cross-origin credential leakage when a single client talks to more than one host, so do not use this in production!

Link copied to clipboard
data class LocalCookie(val cookie: Cookie, val created: Instant, val origin: Uri)