Fake Mirrors
    Preparing search index...

    Interface HttpSetCookie

    A single HTTP Set-Cookie value.

    interface HttpSetCookie {
        domain?: string;
        expires?: number;
        httpOnly?: boolean;
        maxAge?: number;
        path?: string;
        sameSite?: string;
        secure?: boolean;
        value: string;
    }
    domain?: string

    The cookie domain.

    expires?: number

    The cookie expiration timestamp in milliseconds.

    httpOnly?: boolean

    Whether the cookie is HTTP-only.

    maxAge?: number

    The cookie max age in seconds.

    path?: string

    The cookie path.

    sameSite?: string

    The SameSite attribute value.

    secure?: boolean

    Whether the cookie is secure.

    value: string

    The cookie value.