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

Function onMaxParamLength

test/types/instance.tst.ts:348–354  ·  view source on GitHub ↗
(path, req, res)

Source from the content-addressed store, hash-verified

346 res.end('foo')
347 },
348 onMaxParamLength (path, req, res) {
349 expect(path).type.toBe<string>()
350 expect(req).type.toBe<RawRequestDefaultExpression<RawServerDefault>>()
351 expect(res).type.toBe<RawReplyDefaultExpression<RawServerDefault>>()
352 expect(res).type.not.toBeAssignableTo<FastifyReply>()
353 res.end('foo')
354 }
355 }
356})
357

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected