respondHtmlTemplate

suspend fun <TTemplate : Template<<ERROR CLASS>>> <ERROR CLASS>.respondHtmlTemplate(template: TTemplate, status: <ERROR CLASS> = HttpStatusCode.OK, body: TTemplate.() -> Unit)

Responds to a client with an HTML response built based on a specified template. You can learn more from HTML DSL.