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

Method onRequestSent

deps/undici/undici.js:2929–2940  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2927 }
2928 }
2929 onRequestSent() {
2930 if (channels.bodySent.hasSubscribers) {
2931 channels.bodySent.publish({ request: this });
2932 }
2933 if (this[kHandler].onRequestSent) {
2934 try {
2935 return this[kHandler].onRequestSent();
2936 } catch (err) {
2937 this.abort(err);
2938 }
2939 }
2940 }
2941 onRequestStart(abort, context) {
2942 assert(!this.aborted);
2943 assert(!this.completed);

Callers

nothing calls this directly

Calls 3

onRequestSentMethod · 0.65
abortMethod · 0.65
publishMethod · 0.45

Tested by

no test coverage detected