MCPcopy Index your code
hub / github.com/nodejs/node / detachRequestFromStream

Function detachRequestFromStream

deps/undici/undici.js:8391–8395  ·  view source on GitHub ↗
(request)

Source from the content-addressed store, hash-verified

8389 }
8390 __name(getGoAwayPendingIdx, "getGoAwayPendingIdx");
8391 function detachRequestFromStream(request) {
8392 request[kRequestStreamId] = null;
8393 request[kRequestStream] = null;
8394 request[kRequestStreamCleanup] = null;
8395 }
8396 __name(detachRequestFromStream, "detachRequestFromStream");
8397 function bindRequestToStream(request, stream, cleanup) {
8398 const previousCleanup = request[kRequestStreamCleanup];

Callers 5

bindRequestToStreamFunction · 0.70
clearRequestStreamFunction · 0.70
releaseUpgradeStreamFunction · 0.70
onUpgradeResponseFunction · 0.70
releaseRequestStreamFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected