CookieOptions
Defined in: src/types.ts:46
Properties
Section titled “Properties”domain?
Section titled “domain?”
optionaldomain:string
Defined in: src/types.ts:51
expires?
Section titled “expires?”
optionalexpires:Date
Defined in: src/types.ts:48
httpOnly?
Section titled “httpOnly?”
optionalhttpOnly:boolean
Defined in: src/types.ts:49
maxAge?
Section titled “maxAge?”
optionalmaxAge:number
Defined in: src/types.ts:47
optionalpath:string
Defined in: src/types.ts:52
priority?
Section titled “priority?”
optionalpriority:"low"|"medium"|"high"|"Low"|"Medium"|"High"
Defined in: src/types.ts:54
sameSite?
Section titled “sameSite?”
optionalsameSite:boolean|"lax"|"strict"|"none"|"Lax"|"Strict"|"None"
Defined in: src/types.ts:53
secure?
Section titled “secure?”
optionalsecure:boolean
Defined in: src/types.ts:50