MCPcopy
hub / github.com/nodejs/undici / text

Function text

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.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…