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

Function isHTTPServer

test/parallel/test-diagnostic-channel-http-request-created.js:7–7  ·  view source on GitHub ↗
(server)

Source from the content-addressed store, hash-verified

5const dc = require('diagnostics_channel');
6
7const isHTTPServer = (server) => server instanceof http.Server;
8const isOutgoingMessage = (object) => object instanceof http.OutgoingMessage;
9
10dc.subscribe('http.client.request.created', common.mustCall(({ request }) => {

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…