startGenericMappingRoute

abstract fun startGenericMappingRoute(onReceive: suspend (MappedRoute, MiddlewareAuthHeader?) -> String)

Starts the generic mapping route.

Parameters

onReceive

The handler for the generic mapping route. It receives the mapped route, an optional runtime auth header (from X-Mapped-Auth, not stored), and returns the URL.