serializeCookie(): string
Serializes a cookie into a Set-Cookie header value.
The value is percent-encoded, so a payload containing ;, ,, or whitespace
can neither inject attributes nor split the header.
optional
attrs: CookieAttributes
Attributes to emit; omitted fields emit no attribute