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

Interface UnfetchResponse

src/index.d.ts:31–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29
30/** @augments Response */
31export interface UnfetchResponse {
32 ok: boolean;
33 statusText: string;
34 status: number;
35 url: string;
36 text: () => Promise<string>;
37 json: () => Promise<any>;
38 blob: () => Promise<Blob>;
39 clone: () => UnfetchResponse;
40 headers: UnfetchHeaders;
41
42 /** @deprecated not supported by unfetch */
43 arrayBuffer: never;
44 /** @deprecated not supported by unfetch */
45 body: never;
46 /** @deprecated not supported by unfetch */
47 bodyUsed: never;
48 /** @deprecated not supported by unfetch */
49 formData: never;
50 /** @deprecated not supported by unfetch */
51 redirected: never;
52 /** @deprecated not supported by unfetch */
53 type: never;
54}
55
56/** @augments RequestInit */
57export interface UnfetchRequestInit {

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…