tough-cookie.createcookieoptions.httponly.md
May 3, 2024 ยท View on GitHub
Home > tough-cookie > CreateCookieOptions > httpOnly
CreateCookieOptions.httpOnly property
The 'HttpOnly' flag of the cookie indicates if the cookie is inaccessible to client scripts or not (See RFC6265 Section 5.2.6).
Signature:
httpOnly?: boolean;