Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
1
let
restore;
2
if
(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
restore
Function · 0.85
startRequest
Function · 0.70
parse
Method · 0.65
require
Function · 0.50
callback
Function · 0.50
log
Method · 0.45
lookup
Method · 0.45
Tested by
no test coverage detected