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

Function isServerResponse

lib/internal/streams/utils.js:270–275  ·  view source on GitHub ↗
(stream)

Source from the content-addressed store, hash-verified

268}
269
270function isServerResponse(stream) {
271 return (
272 typeof stream._sent100 === 'boolean' &&
273 isOutgoingMessage(stream)
274 );
275}
276
277function isServerRequest(stream) {
278 return (

Callers 1

willEmitCloseFunction · 0.85

Calls 1

isOutgoingMessageFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…