Domain name for the cookie
Expiration date for the cookie or function that returns the date
Whether the cookie should be accessible only through HTTP(S)
Maximum age of the cookie in seconds or as a string
URL path for which the cookie is valid
SameSite attribute to control cross-site request behavior
Whether the cookie should only be sent over HTTPS
Optional
partitionedWhether the cookie should be partitioned (optional)
Optional
priorityPriority level for the cookie (optional)
Configuration options for HTTP cookies that can be set on the response