api

http4k / org.http4k.core.cookie

Package org.http4k.core.cookie

Types

Name Summary
Cookie data class Cookie

Functions

Name Summary
cookie fun Response.cookie(cookie: Cookie): Response
fun Request.cookie(name: String, value: String): Request
fun Request.cookie(new: Cookie): Request
fun Request.cookie(name: String): Cookie?
cookies fun Request.cookies(): List<Cookie>
fun Response.cookies(): List<Cookie>
invalidate fun Cookie.invalidate(): Cookie
invalidateCookie fun Response.invalidateCookie(name: String, domain: String? = null): Response
removeCookie fun Request.removeCookie(name: String): Request
fun Response.removeCookie(name: String): Response
replaceCookie fun Response.replaceCookie(cookie: Cookie): Response