A Map-like interface for working with collections of cookies.
Implements the Iterable
interface, allowing use with for...of
loops.
Symbol
A Map-like interface for working with collections of cookies.
Implements the Iterable
interface, allowing use with for...of
loops.
Returns the default iterator for the CookieMap. Used by for...of loops to iterate over all entries.
An iterator for the entries in the map
Removes a cookie from the map.
The options for the cookie to delete
Removes a cookie from the map.
The name of the cookie to delete
The options for the cookie to delete
Returns an iterator of [name, value] pairs for every cookie in the map.
An iterator for the entries in the map
Gets the value of a cookie with the specified name.
The name of the cookie to retrieve
The cookie value as a string, or null if the cookie doesn't exist
Checks if a cookie with the given name exists.
The name of the cookie to check
true if the cookie exists, false otherwise
Returns an iterator of all cookie names in the map.
An iterator for the cookie names
Adds or updates a cookie in the map.
The name of the cookie
The value of the cookie
Optional cookie attributes
Adds or updates a cookie in the map using a cookie options object.
Cookie options including name and value
Converts the cookie map to a serializable format.
An array of name/value pairs
Gets an array of values for Set-Cookie headers in order to apply all changes to cookies.
An array of values for Set-Cookie headers
Returns an iterator of all cookie values in the map.
An iterator for the cookie values