library
Toggle table of contents
1.0.0
common
Target filter
common
Switch theme
Search in API
Skip to content
library
library
/
xyz.malefic.koven.contract.field
/
Cookie
Cookie
@
Serializable
data
class
Cookie
(
val
name
:
String
,
val
value
:
String
,
val
maxAge
:
Long
?
=
null
,
val
path
:
String
?
=
null
,
val
domain
:
String
?
=
null
,
val
secure
:
Boolean
=
false
,
val
httpOnly
:
Boolean
=
false
,
val
sameSite
:
SameSite
=
SameSite.Lax
)
A representation of an HTTP cookie.
Members
Constructors
Cookie
Link copied to clipboard
constructor
(
name
:
String
,
value
:
String
,
maxAge
:
Long
?
=
null
,
path
:
String
?
=
null
,
domain
:
String
?
=
null
,
secure
:
Boolean
=
false
,
httpOnly
:
Boolean
=
false
,
sameSite
:
SameSite
=
SameSite.Lax
)
Properties
domain
Link copied to clipboard
val
domain
:
String
?
http
Only
Link copied to clipboard
val
httpOnly
:
Boolean
max
Age
Link copied to clipboard
val
maxAge
:
Long
?
name
Link copied to clipboard
val
name
:
String
path
Link copied to clipboard
val
path
:
String
?
same
Site
Link copied to clipboard
val
sameSite
:
SameSite
secure
Link copied to clipboard
val
secure
:
Boolean
value
Link copied to clipboard
val
value
:
String
Functions
provide
Link copied to clipboard
fun
provide
(
)
:
List
<
Cookie
>