ktor-html-builder / io.ktor.html / io.ktor.application.ApplicationCall / respondHtml

respondHtml

suspend fun ApplicationCall.respondHtml(status: HttpStatusCode = HttpStatusCode.OK, block: HTML.() -> Unit): Unit

Responds to a client with a HTML response, using specified block to build an HTML page