constructor
bun.Cookie.constructor
constructor Cookie(
name: string,
value: string,
Creates a cookie from a name, value, and optional attributes
@param name
The name of the cookie
@param value
The value of the cookie
@param options
Optional cookie attributes
constructor Cookie(
cookieString: string
Creates a cookie by parsing a serialized cookie string
@param cookieString
A serialized cookie string, like "name=value; Path=/"
@param cookieObject
The cookie's name, value, and attributes