MCPcopy Create free account
hub / github.com/nodejs/undici / 'https - keepalive'

Function 'https - keepalive'

benchmarks/benchmark-https.js:194–208  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

192 })
193 },
194 'https - keepalive' () {
195 return makeParallelRequests(resolve => {
196 https.get(httpsKeepAliveOptions, res => {
197 res
198 .pipe(
199 new Writable({
200 write (chunk, encoding, callback) {
201 callback()
202 }
203 })
204 )
205 .on('finish', resolve)
206 })
207 })
208 },
209 'undici - pipeline' () {
210 return makeParallelRequests(resolve => {
211 dispatcher

Callers

nothing calls this directly

Calls 3

makeParallelRequestsFunction · 0.70
getMethod · 0.65
onMethod · 0.45

Tested by

no test coverage detected