kinetex - v1.0.0-rc.1
    Preparing search index...

    Interface CookieJSON

    Serializable form of a Cookie for JSON persistence. Infinity (session) expiry is stored as null.

    interface CookieJSON {
        name: string;
        value: string;
        domain: string;
        path: string;
        expires: number | null;
        maxAge: number | null;
        secure: boolean;
        httpOnly: boolean;
        sameSite: SameSite;
        createdAt: number;
        lastAccessed: number;
        hostOnly: boolean;
    }
    Index

    Properties

    name: string

    Cookie name

    value: string

    Cookie value

    domain: string

    Canonicalized domain

    path: string

    Cookie path

    expires: number | null

    Absolute expiry time in ms since epoch, or null for session cookies

    maxAge: number | null

    Raw Max-Age value in seconds, or null if not present

    secure: boolean

    Secure flag

    httpOnly: boolean

    HttpOnly flag

    sameSite: SameSite

    SameSite policy

    createdAt: number

    Creation time in ms since epoch

    lastAccessed: number

    Last-access time in ms since epoch

    hostOnly: boolean

    Host-only flag