跳转到内容
简体中文

CompiledFallback

此内容尚不支持你的语言。

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