Pular para o conteúdo
Português (BR)

CookieAttributes

Este conteúdo não está disponível em sua língua ainda.

CookieAttributes = object

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

Attributes for a Set-Cookie value.

readonly optional domain?: string

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


readonly optional expires?: Date

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


readonly optional httpOnly?: boolean

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


readonly optional maxAgeSeconds?: number

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


readonly optional path?: string

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


readonly optional sameSite?: "strict" | "lax" | "none"

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


readonly optional secure?: boolean

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