Cookie
data class Cookie
Represents a cookie with name, content and a set of settings such as expiration, visibility and security. A cookie with neither expires nor maxAge is a session cookie.
Constructors
Cookie( Represents a cookie with name, content and a set of settings such as expiration, visibility and security. A cookie with neither expires nor maxAge is a session cookie. |
Properties
val domain: String? for which it is set |
|
val encoding: CookieEncoding
|
|
val expires: GMTDate? date when it expires |
|
additional cookie extensions |
|
val httpOnly: Boolean only transfer cookie over HTTP, no access from JavaScript |
|
val maxAge: Int number of seconds to keep cookie |
|
val name: String |
|
val path: String? for which it is set |
|
val secure: Boolean send it via secure connection only |
|
val value: String |
Functions
fun |