Registers a DELETE route.
Route path
Handler or full route definition
Registers a GET route.
Route path; :name segments become path parameters
Handler or full route definition
Creates a route group: routes registered inside the callback share the prefix and any group middleware.
Path prefix for every route in the group
Receives a router scoped to the prefix
Registers a HEAD route.
Route path
Handler or full route definition
Returns all registered routes for introspection.
Used by the OpenAPI plugin to generate documentation from route definitions.
Immutable array of route information in registration order
Registers an OPTIONS route.
Route path
Handler or full route definition
Registers a PATCH route.
Route path
Handler or full route definition
Registers a POST route.
Route path
Handler or full route definition
Registers a PUT route.
Route path
Handler or full route definition
Router registration surface exposed to plugins and applications.
Every verb method accepts either a bare handler or a full
RouteDefinitionwith middleware and schemas.Since
0.1.0