MCPcopy Create free account
hub / github.com/fastify/fastify / echoBody

Function echoBody

test/schema-serialization.test.js:7–7  ·  view source on GitHub ↗
(req, reply)

Source from the content-addressed store, hash-verified

5const { waitForCb } = require('./toolkit')
6
7const echoBody = (req, reply) => { reply.send(req.body) }
8
9test('basic test', (t, testDone) => {
10 t.plan(3)

Callers

nothing calls this directly

Calls 1

sendMethod · 0.80

Tested by

no test coverage detected