createMappedRoute
abstract fun createMappedRoute(mappedRoute: MappedRoute, onRequest: suspend (MappedRoute) -> MappedResponse)
Creates a mapped route.
Parameters
mappedRoute
The mapped route to create.
onRequest
The request handler for the original route, with the mapped route, queries, headers, and body.