MCPcopy Create free account
hub / github.com/developit/unfetch / UnfetchRequestInit

Interface UnfetchRequestInit

src/index.d.ts:57–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55
56/** @augments RequestInit */
57export interface UnfetchRequestInit {
58 method?: string;
59 headers?: Record<string, string>;
60 credentials?: "include" | "omit";
61 body?: Parameters<XMLHttpRequest["send"]>[0];
62
63 /** @deprecated not supported by unfetch */
64 cache?: never;
65 /** @deprecated not supported by unfetch */
66 integrity?: never;
67 /** @deprecated not supported by unfetch */
68 keepalive?: never;
69 /** @deprecated not supported by unfetch */
70 mode?: never;
71 /** @deprecated not supported by unfetch */
72 redirect?: never;
73 /** @deprecated not supported by unfetch */
74 referrer?: never;
75 /** @deprecated not supported by unfetch */
76 referrerPolicy?: never;
77 /** @deprecated not supported by unfetch */
78 signal?: never;
79 /** @deprecated not supported by unfetch */
80 window?: never;
81}
82
83export namespace Unfetch {
84 export type IsomorphicHeaders = Headers | NodeHeaders;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…