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

Method _read

lib/_http_server.js:1074–1082  ·  view source on GitHub ↗
(size)

Source from the content-addressed store, hash-verified

1072 }
1073
1074 _read(size) {
1075 // Reading the upgrade stream starts the request stream flowing. It's
1076 // important that this happens, even if there are no listeners, or it
1077 // would be impossible to read this without explicitly reading all the
1078 // request body first, which is backward incompatible & awkward.
1079 this[kIncomingMessage]?.resume();
1080
1081 this[kSocket].resume();
1082 }
1083
1084 _final(callback) {
1085 this[kSocket].end(callback);

Callers 3

net.jsFile · 0.45
processCallbackFunction · 0.45
parserOnIncomingFunction · 0.45

Calls 1

resumeMethod · 0.65

Tested by

no test coverage detected