RouteRegistration
Defined in: src/http/backend/HttpServerBackend.ts:4
One route registration — supplied by the DSL after compilation.
Properties
Section titled “Properties”handler
Section titled “handler”
readonlyhandler: (req) =>HttpResponse|Promise<HttpResponse>
Defined in: src/http/backend/HttpServerBackend.ts:8
Parameters
Section titled “Parameters”Returns
Section titled “Returns”HttpResponse | Promise<HttpResponse>
method
Section titled “method”
readonlymethod:HttpMethod
Defined in: src/http/backend/HttpServerBackend.ts:5
pattern
Section titled “pattern”
readonlypattern:string
Defined in: src/http/backend/HttpServerBackend.ts:7
Path pattern in the Fastify/Express style: /users/:id