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

Method constructor

lib/interceptor/response-error.js:14–16  ·  view source on GitHub ↗
(_opts, { handler })

Source from the content-addressed store, hash-verified

12 #body
13
14 constructor (_opts, { handler }) {
15 super(handler)
16 }
17
18 #checkContentType (contentType) {
19 return (this.#contentType ?? '').indexOf(contentType) === 0

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected