Skip to content

Headers

Defined in: node_modules/.pnpm/undici-types@7.13.0/node_modules/undici-types/fetch.d.ts:73

new Headers(init?): Headers;

Defined in: node_modules/.pnpm/undici-types@7.13.0/node_modules/undici-types/fetch.d.ts:74

ParameterType
init?HeadersInit

Headers

readonly [iterator]: () => SpecIterableIterator<[string, string]>;

Defined in: node_modules/.pnpm/undici-types@7.13.0/node_modules/undici-types/fetch.d.ts:89

SpecIterableIterator<[string, string]>

SpecIterable.[iterator]


readonly append: (name, value) => void;

Defined in: node_modules/.pnpm/undici-types@7.13.0/node_modules/undici-types/fetch.d.ts:75

ParameterType
namestring
valuestring

void


readonly delete: (name) => void;

Defined in: node_modules/.pnpm/undici-types@7.13.0/node_modules/undici-types/fetch.d.ts:76

ParameterType
namestring

void


readonly entries: () => SpecIterableIterator<[string, string]>;

Defined in: node_modules/.pnpm/undici-types@7.13.0/node_modules/undici-types/fetch.d.ts:88

SpecIterableIterator<[string, string]>


readonly forEach: (callbackfn, thisArg?) => void;

Defined in: node_modules/.pnpm/undici-types@7.13.0/node_modules/undici-types/fetch.d.ts:81

ParameterType
callbackfn(value, key, iterable) => void
thisArg?unknown

void


readonly get: (name) => null | string;

Defined in: node_modules/.pnpm/undici-types@7.13.0/node_modules/undici-types/fetch.d.ts:77

ParameterType
namestring

null | string


readonly getSetCookie: () => string[];

Defined in: node_modules/.pnpm/undici-types@7.13.0/node_modules/undici-types/fetch.d.ts:80

string[]


readonly has: (name) => boolean;

Defined in: node_modules/.pnpm/undici-types@7.13.0/node_modules/undici-types/fetch.d.ts:78

ParameterType
namestring

boolean


readonly keys: () => SpecIterableIterator<string>;

Defined in: node_modules/.pnpm/undici-types@7.13.0/node_modules/undici-types/fetch.d.ts:86

SpecIterableIterator<string>


readonly set: (name, value) => void;

Defined in: node_modules/.pnpm/undici-types@7.13.0/node_modules/undici-types/fetch.d.ts:79

ParameterType
namestring
valuestring

void


readonly values: () => SpecIterableIterator<string>;

Defined in: node_modules/.pnpm/undici-types@7.13.0/node_modules/undici-types/fetch.d.ts:87

SpecIterableIterator<string>