MCPcopy Index your code
hub / github.com/nodejs/node / request-and-log.js

File request-and-log.js

test/fixtures/request-and-log.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1let restore;
2if (process.env.SET_GLOBAL_PROXY) {
3 const config = JSON.parse(process.env.SET_GLOBAL_PROXY);
4 restore = require('http').setGlobalProxyFromEnv(config);

Callers

nothing calls this directly

Calls 7

restoreFunction · 0.85
startRequestFunction · 0.70
parseMethod · 0.65
requireFunction · 0.50
callbackFunction · 0.50
logMethod · 0.45
lookupMethod · 0.45

Tested by

no test coverage detected