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.
Properties
Section titled “Properties”handler
Section titled “handler”
readonlyhandler: (req) =>HttpResponse|Promise<HttpResponse>
Defined in: src/http/Route.ts:11
Parameters
Section titled “Parameters”Returns
Section titled “Returns”HttpResponse | Promise<HttpResponse>
method
Section titled “method”
readonlymethod:HttpMethod
Defined in: src/http/Route.ts:9
pattern
Section titled “pattern”
readonlypattern:string
Defined in: src/http/Route.ts:10