Documentation - v6.7.1
    Preparing search index...

    Interface CookieStoreItem

    A single cookie's attributes.

    interface CookieStoreItem {
        domain?: string;
        expires?: number;
        name: string;
        partitioned?: boolean;
        path?: string;
        sameSite?: "none" | "strict" | "lax";
        secure?: boolean;
        value: string;
    }
    Index
    domain?: string

    Restricts the cookie to the given domain.

    expires?: number

    Expiry time as a Unix timestamp in milliseconds.

    name: string

    Cookie name.

    partitioned?: boolean

    Whether the cookie is partitioned (CHIPS).

    path?: string

    Restricts the cookie to the given path.

    sameSite?: "none" | "strict" | "lax"

    Same-site policy.

    secure?: boolean

    Whether the cookie is restricted to HTTPS.

    value: string

    Cookie value.