<init>
Locations(application: Application)
Creates Locations service extracting path information from @Location annotation
Locations(
application: Application,
routeService: LocationRouteService)
Ktor feature that allows to handle and construct routes in a typed way.
You have to create data classes/objects representing parameterized routes and annotate them with Location. Then you can register sub-routes and handlers for those locations and create links to them using Locations.href.