MCPcopy
hub / github.com/koajs/koa / inspect

Function inspect

lib/response.js:619–624  ·  view source on GitHub ↗

* Inspect implementation. * * @return {Object} * @api public

()

Source from the content-addressed store, hash-verified

617 */
618
619 inspect () {
620 if (!this.res) return
621 const o = this.toJSON()
622 o.body = this.body
623 return o
624 },
625
626 /**
627 * Return JSON representation.

Callers

nothing calls this directly

Calls 1

toJSONMethod · 0.80

Tested by

no test coverage detected