Converts an HTTPCookie into a string to used as header cookie value.
The string representation follows the RFC6265
standard with the added field of SameSite to support secure browsers as explained at
MDN SameSite Cookies
This code is based on the Netty's HTTP cookie encoder.
Multiple cookies are supported just sending separate "Set-Cookie" headers for each cookie.
Converts an HTTPCookie into a string to used as header cookie value.
The string representation follows the RFC6265 standard with the added field of SameSite to support secure browsers as explained at MDN SameSite Cookies
This code is based on the Netty's HTTP cookie encoder.
Multiple cookies are supported just sending separate "Set-Cookie" headers for each cookie.