MCPcopy
hub / github.com/nodejs/undici / buildProxy

Function buildProxy

test/proxy.js:186–191  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

184}
185
186function buildProxy () {
187 return new Promise((resolve, reject) => {
188 const server = createProxy(createServer({ joinDuplicateHeaders: true }))
189 server.listen(0, () => resolve(server))
190 })
191}

Callers 1

proxy.jsFile · 0.70

Calls 3

createServerFunction · 0.85
resolveFunction · 0.85
listenMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…