MCPcopy Create free account
hub / github.com/expressjs/body-parser / dump

Function dump

lib/read.js:198–205  ·  view source on GitHub ↗

* Dump the contents of a request. * * @param {object} req * @param {function} callback * @api private

(req, callback)

Source from the content-addressed store, hash-verified

196 */
197
198function dump (req, callback) {
199 if (onFinished.isFinished(req)) {
200 callback(null)
201 } else {
202 onFinished(req, callback)
203 req.resume()
204 }
205}

Callers 1

readFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected