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

Method onBodySent

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

Invoked when a body chunk is sent to the server. May be invoked multiple times for chunked requests

(chunk: Buffer)

Source from the content-addressed store, hash-verified

227 onResponseStarted?(): void;
228 /** Invoked when a body chunk is sent to the server. May be invoked multiple times for chunked requests */
229 onBodySent?(chunk: Buffer): void;
230 /** Invoked after the request body is fully sent. */
231 onRequestSent?(): void;
232 }

Callers 9

onBodySentMethod · 0.65
writeBufferFunction · 0.65
writeBlobFunction · 0.65
writeMethod · 0.65
writeBufferFunction · 0.65
onPipeDataFunction · 0.65
writeBlobFunction · 0.65
writeIterableFunction · 0.65
onBodySentMethod · 0.65

Implementers 2

LegacyHandlerWrapperlib/dispatcher/dispatcher1-wrapper.js
Requestlib/core/request.js

Calls

no outgoing calls

Tested by

no test coverage detected