Package io.ktor.thymeleaf

Types

Thymeleaf

class Thymeleaf

Thymeleaf support feature. Provides ability to respond with Thymeleaf

ThymeleafContent

class ThymeleafContent

Represents a content handled by Thymeleaf feature.

Functions

respondTemplate

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

Respond with template applying model