Package io.ktor.thymeleaf
Types
Link copied to clipboard
class ThymeleafContent(template: String, model: Map<String, Any>, etag: String?, contentType: ContentType)
Content copied to clipboard
Represents a content handled by Thymeleaf feature.
Functions
Link copied to clipboard
suspend fun ApplicationCall.respondTemplate(template: String, model: Map<String, Any> = emptyMap(), etag: String? = null, contentType: ContentType = ContentType.Text.Html.withCharset(Charsets.UTF_8))
Content copied to clipboard