RequestCookies

open class RequestCookies(request: ApplicationRequest)

Server request's cookies.

See also

Constructors

Link copied to clipboard
constructor(request: ApplicationRequest)

Properties

Link copied to clipboard

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.

Functions

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

Gets a name cookie value decoded using an encoding strategy.