Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
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
186
function
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.js
File · 0.70
Calls
3
createServer
Function · 0.85
resolve
Function · 0.85
listen
Method · 0.80
Tested by
no test coverage detected