Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fastify/fastify
/ handler
Function
handler
test/route.3.test.js:33–37 ·
view source on GitHub ↗
(req, res)
Source
from the content-addressed store, hash-verified
31
params: { an_id: joi.number() }
32
},
33
handler (req, res) {
34
t.assert.strictEqual(Object.keys(req.params).length, 1)
35
t.assert.strictEqual(req.params.an_id,
'42'
)
36
res.send({ hello:
'world'
})
37
}
38
})
39
40
fastify.inject({
Callers
nothing calls this directly
Calls
1
send
Method · 0.80
Tested by
no test coverage detected