respond

@JvmName(name = "respondWithType")
inline suspend fun <T : Any> ApplicationCall.respond(message: T)
inline suspend fun ApplicationCall.respond(message: Any)

Sends a message as a response


@JvmName(name = "respondWithType")
inline suspend fun <T : Any> ApplicationCall.respond(status: HttpStatusCode, message: T)
inline suspend fun ApplicationCall.respond(status: HttpStatusCode, message: Any)

Sets status and sends a message as a response