MCPcopy Create free account
hub / github.com/nodejs/node / text

Function text

deps/undici/src/lib/web/fetch/body.js:328–332  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

326 },
327
328 text () {
329 // The text() method steps are to return the result of running
330 // consume body with this and UTF-8 decode.
331 return consumeBody(this, utf8DecodeBytes, instance, getInternalState)
332 },
333
334 json () {
335 // The json() method steps are to return the result of running

Callers

nothing calls this directly

Calls 1

consumeBodyFunction · 0.70

Tested by

no test coverage detected