Mapping

annotation class Mapping(val path: String, val method: RequestMethod)

Annotation to map a function to a route

Parameters

path

the path of the route

method

the method of the route

Properties

Link copied to clipboard
Link copied to clipboard