Cookieinterface
Describes a cookie.
Properties (10)
| Property | Type | Default | Required | Description |
|---|---|---|---|---|
| domain⚓︎ | string | x | x | Domain for the cookie. Normalized with a preceding dot in order to be valid for subdomains too. |
| expirationDate⚓︎ | number | x | x | Expiration date of the cookie as a number of seconds since the UNIX epoch. Not available for session cookies. |
| hostOnly⚓︎ | boolean | x | x | If |
| httpOnly⚓︎ | boolean | x | x | If |
| name⚓︎ | string | x | Name of the cookie. |
|
| path⚓︎ | string | x | x | Path for the cookie. |
| sameSite⚓︎ | ("unspecified" | "no_restriction" | "lax" | "strict") | x | The value applied to the |
|
| secure⚓︎ | boolean | x | x | If |
| session⚓︎ | boolean | x | x | If |
| value⚓︎ | string | x | Value of the cookie. |