Skip to main content

Interface: Cookie

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

HTTP Cookie jar with domain/path support

Properties

domain?

optional domain?: string

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


expires?

optional expires?: Date

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


httpOnly?

optional httpOnly?: boolean

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


maxAge?

optional maxAge?: number

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


name

name: string

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


path?

optional path?: string

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


sameSite?

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

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


secure?

optional secure?: boolean

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


value

value: string

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