ktor-server-core / io.ktor.routing / Route / handle

handle

fun handle(handler: <ERROR CLASS><Unit, ApplicationCall>): Unit

Installs a handler into this route which will be called when the route is selected for a call