data class CookieParam
Cookie parameter object
<init> |
Cookie parameter object CookieParam(name: String, value: String, url: String? = null, domain: String? = null, path: String? = null, secure: Boolean? = null, httpOnly: Boolean? = null, sameSite: CookieSameSite? = null, expires: TimeSinceEpoch? = null, priority: CookiePriority? = null) |
domain |
Cookie domain. val domain: String? |
expires |
Cookie expiration date, session cookie if not set val expires: TimeSinceEpoch? |
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? |
sameSite |
Cookie SameSite type. val sameSite: CookieSameSite? |
secure |
True if cookie is secure. val secure: Boolean? |
url |
The request-URI to associate with the setting of the cookie. This value can affect the default domain and path values of the created cookie. val url: String? |
value |
Cookie value. val value: String |