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

    Interface Cookie

    A single HTTP cookie per RFC 6265 §5.3 storage model. Tracks name, value, domain, path, expiry, security flags, SameSite policy, creation and last-access times, and host-only status.

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

    Properties

    name: string

    Cookie name (may be empty string)

    value: string

    Cookie value

    domain: string

    Canonicalized domain (no leading dot, lowercased, IDN-decoded)

    path: string

    Cookie path

    expires: number

    Absolute expiry time in ms since epoch. Infinity means session cookie (no Expires/Max-Age).

    maxAge: number | null

    Raw Max-Age value in seconds as parsed (null if not present)

    secure: boolean

    Secure flag

    httpOnly: boolean

    HttpOnly flag

    sameSite: SameSite

    SameSite policy

    createdAt: number

    Creation time in ms since epoch (RFC 6265 §5.3 step 2)

    lastAccessed: number

    Last-access time in ms since epoch (RFC 6265 §5.3 step 2)

    hostOnly: boolean

    Host-only flag (RFC 6265 §5.3 step 6): true = cookie was set without a Domain attribute → exact host match only false = cookie has a Domain attribute → subdomain matching applies