Skip to content

CompiledRoute

Defined in: src/http/Route.ts:8

A compiled route — the Route-DSL reduces to a list of these, which the HTTP backend registers in its native routing table.

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

Defined in: src/http/Route.ts:11

HttpRequest

HttpResponse | Promise<HttpResponse>


readonly method: HttpMethod

Defined in: src/http/Route.ts:9


readonly pattern: string

Defined in: src/http/Route.ts:10