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

Method onStatus

deps/undici/undici.js:7337–7340  ·  view source on GitHub ↗

* @param {Buffer} buf * @returns {0}

(buf)

Source from the content-addressed store, hash-verified

7335 * @returns {0}
7336 */
7337 onStatus(buf) {
7338 this.statusText = buf.toString();
7339 return 0;
7340 }
7341 /**
7342 * @returns {0|-1}
7343 */

Callers 1

lazyllhttpFunction · 0.45

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected