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

Function buildServer

test/proxy.js:179–184  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

177})
178
179function buildServer () {
180 return new Promise((resolve, reject) => {
181 const server = createServer({ joinDuplicateHeaders: true })
182 server.listen(0, () => resolve(server))
183 })
184}
185
186function buildProxy () {
187 return new Promise((resolve, reject) => {

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…