interface LegacyCookie
Private

A cookie exactly as Mojo::Cookie::Response->new(name => ..., value => ..., domain => ..., path => ...) shapes it in the legacy Perl source this was converted from — lanrurugi-plugin-converter renders that legacy constructor call straight to an object literal of this shape (see render.rs::try_match_legacy_http_constructor), so cookie_jar below takes it as plain data rather than a real class instance.

Properties

name: string
value: string
domain: string
path: string

Usage

import { type LegacyCookie } from "plugins/legacy-globals.d.ts";