Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface default.Network.Cookie
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { Cookie } = default.Network;

Cookie object

Properties

name: string

Cookie name.

value: string

Cookie value.

domain: string

Cookie domain.

path: string

Cookie path.

expires: number

Cookie expiration date as the number of seconds since the UNIX epoch.

size: integer

Cookie size.

httpOnly: boolean

True if cookie is http-only.

secure: boolean

True if cookie is secure.

session: boolean

True in case of session cookie.

optional
sameSite: CookieSameSite

Cookie SameSite type.

priority: CookiePriority

Cookie Priority