Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SetCookie

Index

Properties

Optional domain

domain: string

The cookie domain.

Optional expires

expires: number

The cookie Unix expiration time in seconds.

Optional httpOnly

httpOnly: boolean

The cookie http only flag.

name

name: string

The cookie name.

Optional path

path: string

The cookie path.

Optional sameSite

sameSite: SameSiteSetting

The cookie same site definition.

Optional secure

secure: boolean

The cookie secure flag.

Optional session

session: boolean

The session cookie flag.

Optional url

url: string

The request-URI to associate with the setting of the cookie. This value can affect the default domain and path values of the created cookie.

value

value: string

The cookie value.