OptionaldomainThe cookie domain.
OptionalexpiresThe cookie expiration timestamp in milliseconds.
OptionalhttpWhether the cookie is HTTP-only.
OptionalmaxThe cookie max age in seconds.
OptionalpathThe cookie path.
OptionalsameThe SameSite attribute value.
OptionalsecureWhether the cookie is secure.
The cookie value.
A single HTTP Set-Cookie value.