Interface DispatchHandlers Defined in node_modules/undici/types/dispatcher.d.ts:218 MethodsOptional
on Body Sent onBodySent ( chunkSize : number , totalBytesSent : number ) : void Parameters chunkSize : number totalBytesSent : number Returns void Defined in node_modules/undici/types/dispatcher.d.ts:234 Optional
on Complete onComplete ( trailers : null | string [] ) : void Parameters trailers : null | string [] Returns void Defined in node_modules/undici/types/dispatcher.d.ts:232 Optional
on Connect onConnect ( abort : ( err ?: Error ) => void ) : void Parameters abort : ( err ?: Error ) => void Returns void Defined in node_modules/undici/types/dispatcher.d.ts:220 Optional
on Data onData ( chunk : Buffer ) : boolean Returns boolean Defined in node_modules/undici/types/dispatcher.d.ts:230 Optional
on Error onError ( err : Error ) : void Returns void Defined in node_modules/undici/types/dispatcher.d.ts:222 Optional
on Headers onHeaders ( statusCode : number , headers : Buffer [] , resume : () => void , statusText : string , ) : boolean Parameters statusCode : number headers : Buffer [] resume : () => void statusText : string Returns boolean Defined in node_modules/undici/types/dispatcher.d.ts:228 Optional
on Response Started onResponseStarted () : void Returns void Defined in node_modules/undici/types/dispatcher.d.ts:226 Optional
on Upgrade onUpgrade ( statusCode : number , headers : null | string [] | Buffer [] , socket : Duplex , ) : void Parameters statusCode : number headers : null | string [] | Buffer [] socket : Duplex Returns void Defined in node_modules/undici/types/dispatcher.d.ts:224
Invoked when a body chunk is sent to the server. May be invoked multiple times for chunked requests