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

Function getNextRequestId

lib/internal/inspector/network.js:47–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45
46let requestId = 0;
47function getNextRequestId() {
48 if (requestId === NumberMAX_SAFE_INTEGER) {
49 requestId = 0;
50 }
51 return `node-network-event-${++requestId}`;
52};
53
54function sniffMimeType(contentType) {
55 let mimeType;

Callers 4

onClientRequestCreatedFunction · 0.85
onClientRequestStartFunction · 0.85
onWebSocketOpenFunction · 0.85
onClientStreamCreatedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…