MCPcopy
hub / github.com/nodejs/undici / BodyMixin

Interface BodyMixin

types/dispatcher.d.ts:239–248  ·  view source on GitHub ↗

* @link https://fetch.spec.whatwg.org/#body-mixin

Source from the content-addressed store, hash-verified

237 * @link https://fetch.spec.whatwg.org/#body-mixin
238 */
239 interface BodyMixin {
240 readonly body?: never;
241 readonly bodyUsed: boolean;
242 arrayBuffer(): Promise<ArrayBuffer>;
243 blob(): Promise<Blob>;
244 bytes(): Promise<Uint8Array>;
245 formData(): Promise<never>;
246 json(): Promise<unknown>;
247 text(): Promise<string>;
248 }
249
250 export interface DispatchInterceptor {
251 (dispatch: Dispatch): Dispatch

Callers 45

writeBlobFunction · 0.65
writeBlobFunction · 0.65
addMethod · 0.65
client-request.jsFile · 0.65
readable.jsFile · 0.65
encoding.jsFile · 0.65
issue-1711.jsFile · 0.65
fetch-leak.jsFile · 0.65
client-request.jsFile · 0.65
client-fetch.jsFile · 0.65
response.jsFile · 0.65

Implementers 1

BodyReadablelib/api/readable.js

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…