respondHtml
suspend fun <ERROR CLASS>.respondHtml(status: <ERROR CLASS> = HttpStatusCode.OK, block: <ERROR CLASS>.() -> Unit)
Content copied to clipboard
Responds to a client with an HTML response using the specified block to build an HTML page. You can learn more from HTML DSL.