respondTemplate
suspend fun ApplicationCall.respondTemplate(template: String, params: Map<String, Any?> = emptyMap(), etag: String? = null, contentType: ContentType = ContentType.Text.Html.withCharset(Charsets.UTF_8))
Responds with the specified template passing params.
See also
suspend fun ApplicationCall.respondTemplate(template: String, vararg params: Pair<String, Any?>, etag: String? = null, contentType: ContentType = ContentType.Text.Html.withCharset(Charsets.UTF_8))
Responds with the specified template passing params as a vararg of Pair.