text

fun text(body: String, status: Int = 200, contentType: MediaType? = null): DebugResponse

A text response carrying body, with the given status (default 200) and contentType (default text/plain; charset=utf-8).