Cookie Object
- String - The name of the cookie.
value
String - The value of the cookie.hostOnly
Boolean (optional) - Whether the cookie is a host-only cookie; this will only betrue
if no domain was passed.- String (optional) - The path of the cookie.
httpOnly
Boolean (optional) - Whether the cookie is marked as HTTP only.session
Boolean (optional) - Whether the cookie is a session cookie or a persistent cookie with an expiration date.- String - The Same Site policy applied to this cookie. Can be
unspecified
,no_restriction
,lax
orstrict
.