data class Cookie
Cookie object
<init> |
Cookie object Cookie(name: String, value: String, domain: String, path: String, expires: Double, size: Int, httpOnly: Boolean, secure: Boolean, session: Boolean, sameSite: CookieSameSite? = null, priority: CookiePriority? = null, sameParty: Boolean? = null) |
domain |
Cookie domain. val domain: String |
expires |
Cookie expiration date as the number of seconds since the UNIX epoch. val expires: Double |
httpOnly |
True if cookie is http-only. val httpOnly: Boolean |
name |
Cookie name. val name: String |
path |
Cookie path. val path: String |
priority |
Cookie Priority val priority: CookiePriority? |
sameParty |
True if cookie is SameParty. val sameParty: Boolean? |
sameSite |
Cookie SameSite type. val sameSite: CookieSameSite? |
secure |
True if cookie is secure. val secure: Boolean |
session |
True in case of session cookie. val session: Boolean |
size |
Cookie size. val size: Int |
value |
Cookie value. val value: String |