data class CookieParam
(source)
Cookie parameter object
Link
Network#CookieParam type documentation.
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)
Cookie parameter object |
val domain: String?
Cookie domain. |
|
val expires: TimeSinceEpoch?
Cookie expiration date, session cookie if not set |
|
val httpOnly: Boolean?
True if cookie is http-only. |
|
val name: String
Cookie name. |
|
val path: String?
Cookie path. |
|
val sameSite: CookieSameSite?
Cookie SameSite type. |
|
val secure: Boolean?
True if cookie is secure. |
|
val url: String?
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 value: String
Cookie value. |