KtorController
abstract class KtorController(priority: Int = DEFAULT_CONTROLLER_PRIORITY, val restrictToAppName: String? = null) : KtorModule
Content copied to clipboard
Identical to KtorModule, but allows you to directly add routes, as if calling routing
in a KtorModule.
Constructors
Link copied to clipboard
fun KtorController(priority: Int = DEFAULT_CONTROLLER_PRIORITY, restrictToAppName: String? = null)
Content copied to clipboard
Functions
Properties
Link copied to clipboard
The application name that this module should be installed in. This should correspond to the application name specified in KtorApplication.appName