- parseCookie(
cookie?: string,
_decode?: (s: string) => string,
): Record<string, string | boolean> & { session: string } | null Parameters
Optional
cookie: stringOptional
_decode: (s: string) => string
Returns Record<string, string | boolean> & { session: string } | null
Parse the given cookie string into an object of key - values.