Cookie interface
Represents a cookie object.
Signature
export interface Cookie extends CookieData
Extends: CookieData
Properties
Property | Modifiers | Type | Description | Default |
---|---|---|---|---|
expires | number | Cookie expiration date as the number of seconds since the UNIX epoch. Set to | ||
partitionKeyOpaque |
| boolean | True if cookie partition key is opaque. Supported only in Chrome. | |
path | string | Cookie path. | ||
secure | boolean | True if cookie is secure. | ||
session | boolean | True in case of session cookie. | ||
size | number | Cookie size. |