Interface Cookie

interface Cookie {
    domain: string;
    expires: number;
    httpOnly: boolean;
    name: string;
    partitionKey?: string;
    path: string;
    sameSite: "Strict" | "Lax" | "None";
    secure: boolean;
    value: string;
}

Properties

domain: string
expires: number

Unix time in seconds.

httpOnly: boolean
name: string
partitionKey?: string
path: string
sameSite: "Strict" | "Lax" | "None"
secure: boolean
value: string