MCPcopy Create free account
hub / github.com/nodejs/node / onResponseStarted

Method onResponseStarted

deps/undici/src/types/dispatcher.d.ts:227–227  ·  view source on GitHub ↗

Invoked when response is received, before headers have been read.

()

Source from the content-addressed store, hash-verified

225
226 /** Invoked when response is received, before headers have been read. **/
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. */

Callers 7

onResponseStartedMethod · 0.65
onMessageBeginMethod · 0.65
onResponseFunction · 0.65
onResponseStartedMethod · 0.65
onMessageBeginMethod · 0.65
onResponseFunction · 0.65
onResponseStartedMethod · 0.65

Implementers 2

LegacyHandlerWrapperdeps/undici/src/lib/dispatcher/dispatc
Requestdeps/undici/src/lib/core/request.js

Calls

no outgoing calls

Tested by

no test coverage detected