RouteConfig
Defined in: src/core/types.ts:109
Individual route configuration
Properties
Section titled “Properties”metadata?
Section titled “metadata?”
optionalmetadata:Record<string,unknown>
Defined in: src/core/types.ts:117
Route-level metadata for logging/observability
methods?
Section titled “methods?”
optionalmethods:HttpMethod[]
Defined in: src/core/types.ts:113
Allowed HTTP methods. Defaults to all.
path:
string
Defined in: src/core/types.ts:111
Route path pattern (Hono syntax, e.g. “/users/:id“)
pipeline
Section titled “pipeline”pipeline:
PipelineConfig
Defined in: src/core/types.ts:115
Pipeline to process this route