Package io.ktor.server.thymeleaf
Types
Link copied to clipboard
class ThymeleafContent(template: String, model: Map<String, Any>, etag: String?, contentType: ContentType, locale: Locale, fragments: Set<String>)
Content copied to clipboard
A response content handled by the io.ktor.server.thymeleaf.Thymeleaf plugin.
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), locale: Locale = Locale.getDefault())
Content copied to clipboard
Properties
Link copied to clipboard
A plugin that allows you to use Thymeleaf templates as views within your application. Provides the ability to respond with ThymeleafContent. You can learn more from Thymeleaf.