handle

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

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