respond
Sends a message as a response.
See also
Sends a message as a response with the specified status code.
See also
suspend fun ApplicationCall.respond(status: HttpStatusCode, message: Any?, messageType: TypeInfo)(source)
Sends a message of type messageType as a response with the specified status code.