name
String
The name of the cookie
value
String?
The value of the cookie
expires
DateTime?
The expiration date of the cookie
max-age
Number?
The maximum age of the cookie in seconds
path
String?
The path for which the cookie is valid
secure
Bool?
Whether the cookie should only be sent over HTTPS
same-site
Bool?
Whether the cookie should be restricted to same-site requests
return
void
No return value