tough-cookie.setcookieoptions.http.md

May 3, 2024 ยท View on GitHub

Home > tough-cookie > SetCookieOptions > http

SetCookieOptions.http property

Indicates if this is an HTTP or non-HTTP API. Affects HttpOnly cookies.

Defaults to true if not provided.

Signature:

http?: boolean | undefined;