Optional
domainOptional
expiryWhen the cookie expires.
When () adding a cookie, this may be specified in seconds since Unix epoch (January 1, 1970). The expiry will default to 20 years in the future if omitted.
The expiry is always returned in seconds since epoch when () retrieving cookies from the browser.
Optional
httpWhether the cookie is an HTTP only cookie. Defaults to false when adding a new cookie.
The name of the cookie.
Optional
pathThe cookie path. Defaults to "/" when adding a cookie.
Optional
secureWhether the cookie is a secure cookie. Defaults to false when adding a new cookie.
The cookie value.
Generated using TypeDoc
The domain the cookie is visible to. Defaults to the current browsing context's document's URL when adding a cookie.