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
Creates a new cookie object.
function createCookie(name: string, options: CookieOptions): Cookie
nameThe name of the cookie
optionsOptions for the cookie
A new Cookie object