Creates a cookie.
The type of the cookie.
The name of the cookie.
The buffer to encode into a SENC encoded cookie string.
The max-age of the cookie. (Seconds the cookie will be alive.)
The path of the cookie. (Default: "/")
See Implementation
Creates a cookie.