ProtectedconstructorCreate a CookieCollection.
Optionalcookie: string
String cookie from header.
Cookies options.
Optionalsecret: string
Secret value to sign and unsign cookies.
Add a cookie to the collection.
Cookie name.
Cookie value.
Cookie options.
Clear all cookies from the collection.
If true, remove only from collection without setting expiry.
Get a cookie value from the collection.
Cookie name.
Cookie value.
Check if the collection has a cookie.
Cookie name.
Check if the collection is empty.
Remove a cookie from the collection.
Cookie name to remove.
Cookie options.
If true, remove only from collection without setting expiry.
Set secure flag for all cookies in the collection.
Whether the cookies are secure.
Set options for all cookies in the collection.
Cookie options.
Set secret for signing and unsigning cookies.
Secret value.
Update a cookie in the collection.
Cookie name.
New cookie value.
Cookie options.
StaticcreateCreate a CookieCollection.
Optionalcookie: string
String cookie from header.
Cookies options.
Optionalsecret: string
Secret value to sign and unsign cookies.
Class representing a collection of Cookies.