Zum Inhalt springen
Deutsch

CompiledFallback

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

CompiledFallback = object

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

A compiled fallback — answers any request that matched no other route. Wired to the backend’s not-found hook at bind time (exactly one per server), so unlike CompiledRoute it carries no method or pattern.

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

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

HttpRequest

Promise<HttpResponse> | HttpResponse


readonly kind: "fallback"

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