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

Method onRequestStart

types/dispatcher.d.ts:219–219  ·  view source on GitHub ↗
(controller: DispatchController, context: any)

Source from the content-addressed store, hash-verified

217
218 export interface DispatchHandler {
219 onRequestStart?(controller: DispatchController, context: any): void;
220 onRequestUpgrade?(controller: DispatchController, statusCode: number, headers: IncomingHttpHeaders, socket: Duplex): void;
221 onResponseStart?(controller: DispatchController, statusCode: number, headers: IncomingHttpHeaders, statusMessage?: string): void;
222 onResponseData?(controller: DispatchController, chunk: Buffer): void;

Callers 15

writeH1Function · 0.65
writeH2Function · 0.65
handleUncachedResponseFunction · 0.65
sendCachedValueFunction · 0.65
onRequestStartMethod · 0.65
onRequestStartMethod · 0.65
onRequestStartMethod · 0.65
mockDispatchFunction · 0.65
onRequestStartMethod · 0.65
#replaySnapshotMethod · 0.65
onRequestStartMethod · 0.65
onRequestStartMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected