handle

abstract suspend fun handle(context: RoutingContext)(source)

Dispatches an incoming request to the appropriate stub and writes the response.

Called by Application.mokksy and Route.mokksy for every incoming request.

Parameters

context

The Ktor RoutingContext representing the current request.