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

Function getGlobalAgent

lib/internal/http.js:263–268  ·  view source on GitHub ↗
(proxyEnv, Agent)

Source from the content-addressed store, hash-verified

261}
262
263function getGlobalAgent(proxyEnv, Agent) {
264 return new Agent({
265 keepAlive: true, scheduling: 'lifo', timeout: 5000,
266 proxyEnv,
267 });
268}
269
270module.exports = {
271 kOutHeaders: Symbol('kOutHeaders'),

Callers 3

setGlobalProxyFromEnvFunction · 0.85
_http_agent.jsFile · 0.85
https.jsFile · 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…