handle

abstract suspend fun handle(request: HttpRequest<out Any>): RawResponse

Handles a request to this built-in controller.

To perform I/O or any other blocking task, this method should suspend against the appropriate dispatcher.

Return

HTTP response which should be returned in response to the provided request.

Parameters

request

Subject request to handle.