ResponseHandler

Describes a handler object which can respond to a request with a given ResponseBody type; these throw-away handlers are typically spawned by utility functions to create a context where rendering can take place.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun respond(response: MutableHttpResponse<ResponseBody>): MutableHttpResponse<ResponseBody>

Respond to the request with the provided response.