Type alias RouteHandlerMethod<RawServer, RawRequest, RawReply, RouteGeneric, ContextConfig, SchemaCompiler, TypeProvider, Logger>
RouteHandlerMethod<RawServer, RawRequest, RawReply, RouteGeneric, ContextConfig, SchemaCompiler, TypeProvider, Logger>: ((this,
request,
reply) => ResolveFastifyReplyReturnType<TypeProvider, SchemaCompiler, RouteGeneric>) Type declaration
- (this, request, reply): ResolveFastifyReplyReturnType<TypeProvider, SchemaCompiler, RouteGeneric>
Parameters
- this: FastifyInstance<RawServer, RawRequest, RawReply, Logger, TypeProvider>
- request: FastifyRequest<RouteGeneric, RawServer, RawRequest, SchemaCompiler, TypeProvider, ContextConfig, Logger>
- reply: FastifyReply<RawServer, RawRequest, RawReply, RouteGeneric, ContextConfig, SchemaCompiler, TypeProvider>
Route handler method declaration.