Readonly domainThe Domain this Cookie will be assigned to.
If not provided will not be used in the Cookie Header.
null
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#attributes
9.0.0
Readonly expiresThe Date or seconds in which the Cookie will expire
If not provided will create a "Session Cookie".
null
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#attributes
9.0.0
Readonly httpWhether the Cookie should be HTTP only
false
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#attributes
9.0.0
Readonly pathThe Path under which to save the Cookie
"/"
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#attributes
9.0.0
Readonly sameThe SameSite Attribute of the Cookie
false
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#attributes
9.0.0
Readonly secureWhether the Cookie should be Secure (HTTPS only)
false
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#attributes
9.0.0
Readonly valueThe Value of the Cookie
Create a new Cookie