-
-
Notifications
You must be signed in to change notification settings - Fork 227
IOptionalCookie
David Ortner edited this page Apr 10, 2025
·
3 revisions
IOptionalCookie represents a cookie with optional properties sent in as a parameter to CookieContainer.addCookies().
interface IOptionalCookie
Property | Type | Default | Description |
---|---|---|---|
key | string | Key. | |
originURL | URL | Origin URL. | |
value? | string | null | Value. | |
domain? | string | Domain. | |
path? | string | Path. | |
expires? | Date | null | Expires. | |
httpOnly? | boolean | HTTP only. | |
secure? | boolean | Secure. | |
sameSite? | CookieSameSiteEnum | Same site. |
Help Packages