handle

fun handle(handler: DebugHandler)

Sets the handler that answers the route. It runs for each request whose parameters are valid, off the main thread and possibly at the same time as other requests, as DebugTab.handle does.