RequestCookies

open class RequestCookies(request: ApplicationRequest)

Server request's cookies.

See also

Constructors

Link copied to clipboard
fun RequestCookies(request: ApplicationRequest)

Functions

Link copied to clipboard
operator fun get(name: String, encoding: <ERROR CLASS> = CookieEncoding.URI_ENCODING): String?

Gets a name cookie value decoded using an encoding strategy.

Properties

Link copied to clipboard
val rawCookies: Map<String, String>

Provides access to raw cookie values. These values are not decoded so could have percent encoded values, quotes, escape characters, and so on. It is recommended to use get instead.