콘텐츠로 이동
한국어

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