respondHtmlTemplate
suspend fun <TTemplate : Template<<ERROR CLASS>>> <ERROR CLASS>.respondHtmlTemplate(template: TTemplate, status: <ERROR CLASS> = HttpStatusCode.OK, body: TTemplate.() -> Unit)
Content copied to clipboard
Responds to a client with an HTML response built based on a specified template. You can learn more from HTML DSL.