StandardCookie
A standard cookie
Properties
| Property | Type | Description |
|---|---|---|
domain | string | null | Cookie domain |
expires | number | null | Cookie expiration date, session cookie if not set |
httpOnly | boolean | null | True if cookie is http-only |
name | string | Cookie name |
path | string | null | Cookie path |
sameSite | CookieSameSite | null | Cookie SameSite type |
secure | boolean | null | True if cookie is secure |
url | string | null | The request-URI to associate with the setting of the cookie. This value can affect the default domain, path, source port, and source scheme values of the created cookie |
value | string | Cookie value |