MCPcopy
hub / github.com/fastify/fastify / handler

Function handler

test/custom-parser.1.test.js:174–176  ·  view source on GitHub ↗
(request, reply)

Source from the content-addressed store, hash-verified

172 method: ['POST', 'DELETE'],
173 url: '/',
174 handler (request, reply) {
175 reply.send(request.body)
176 }
177 })
178
179 const fastifyServer = await fastify.listen({ port: 0 })

Callers

nothing calls this directly

Calls 1

sendMethod · 0.80

Tested by

no test coverage detected