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

Method onRequestSent

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

Invoked after the request body is fully sent.

()

Source from the content-addressed store, hash-verified

229 onBodySent?(chunk: Buffer): void;
230 /** Invoked after the request body is fully sent. */
231 onRequestSent?(): void;
232 }
233 export type PipelineHandler<TOpaque = null> = (data: PipelineHandlerData<TOpaque>) => Readable
234 export type HttpMethod = Autocomplete<'GET' | 'HEAD' | 'POST' | 'PUT' | 'DELETE' | 'CONNECT' | 'OPTIONS' | 'TRACE' | 'PATCH'>

Callers 9

onRequestSentMethod · 0.65
writeBufferFunction · 0.65
writeBlobFunction · 0.65
endMethod · 0.65
writeBufferFunction · 0.65
writeStreamFunction · 0.65
writeBlobFunction · 0.65
writeIterableFunction · 0.65
onRequestSentMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected