ktor-pebble / io.ktor.pebble / io.ktor.application.ApplicationCall / respondTemplate

respondTemplate

suspend fun ApplicationCall.respondTemplate(template: String, model: Map<String, Any>, locale: Locale? = null, etag: String? = null, contentType: ContentType = ContentType.Text.Html.withCharset( Charsets.UTF_8 )): Unit

Respond with the specified template passing model

See Also

PebbleContent