Aller au contenu
Français

RouteRegistration

Ce contenu n’est pas encore disponible dans votre langue.

Defined in: src/http/backend/HttpServerBackend.ts:4

One route registration — supplied by the DSL after compilation.

readonly handler: (req) => HttpResponse | Promise<HttpResponse>

Defined in: src/http/backend/HttpServerBackend.ts:8

HttpRequest

HttpResponse | Promise<HttpResponse>


readonly method: HttpMethod

Defined in: src/http/backend/HttpServerBackend.ts:5


readonly pattern: string

Defined in: src/http/backend/HttpServerBackend.ts:7

Path pattern in the Fastify/Express style: /users/:id