remix/cookie · FunctionView Source
createCookie
Summary
Creates a new cookie object.
Signature
function createCookie(name: string, options: CookieOptions): Cookie;
Parameters
name
The name of the cookie
options
Options for the cookie
Returns
A new Cookie object