tough-cookie.cookie.hostonly.md

May 3, 2024 ยท View on GitHub

Home > tough-cookie > Cookie > hostOnly

Cookie.hostOnly property

A boolean flag indicating if a cookie is a host-only cookie (i.e.; when the request's host exactly matches the domain of the cookie) or not (See RFC6265 Section 5.3).

Signature:

hostOnly: boolean | null;