MCPcopy Create free account
hub / github.com/nodejs/undici / constructor

Method constructor

benchmarks/benchmark-https.js:104–110  ·  view source on GitHub ↗
(resolve)

Source from the content-addressed store, hash-verified

102
103class SimpleRequest {
104 constructor (resolve) {
105 this.dst = new Writable({
106 write (chunk, encoding, callback) {
107 callback()
108 }
109 }).on('finish', resolve)
110 }
111
112 onRequestStart (controller) {
113 this.controller = controller

Callers

nothing calls this directly

Calls 1

onMethod · 0.45

Tested by

no test coverage detected