Skip to main content

Interface: CookieOptions

Defined in: src/http/cookies.ts:17

Properties​

domain?​

optional domain?: string

Defined in: src/http/cookies.ts:18


expires?​

optional expires?: Date

Defined in: src/http/cookies.ts:20


httpOnly?​

optional httpOnly?: boolean

Defined in: src/http/cookies.ts:23


maxAge?​

optional maxAge?: number

Defined in: src/http/cookies.ts:21


path?​

optional path?: string

Defined in: src/http/cookies.ts:19


sameSite?​

optional sameSite?: "Strict" | "Lax" | "None"

Defined in: src/http/cookies.ts:24


secure?​

optional secure?: boolean

Defined in: src/http/cookies.ts:22