MCPcopy
hub / github.com/vvo/iron-session / CookieListItem

Interface CookieListItem

src/core.ts:18–29  ·  view source on GitHub ↗

* https://wicg.github.io/cookie-store/#dictdef-cookielistitem CookieListItem * as specified by W3C.

Source from the content-addressed store, hash-verified

16 * as specified by W3C.
17 */
18interface CookieListItem
19 extends Pick<
20 CookieSerializeOptions,
21 "domain" | "path" | "sameSite" | "secure"
22 > {
23 /** A string with the name of a cookie. */
24 name: string;
25 /** A string containing the value of the cookie. */
26 value: string;
27 /** A number of milliseconds or Date interface containing the expires of the cookie. */
28 expires?: CookieSerializeOptions["expires"] | number;
29}
30
31/**
32 * Superset of {@link CookieListItem} extending it with

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…