Package io.ktor.freemarker
Types
Link copied to clipboard
Freemarker support feature. Provides ability to respond with FreeMarkerContent
Link copied to clipboard
class FreeMarkerContent(template: String, model: Any?, etag: String?, contentType: ContentType)
Content copied to clipboard
Represents a content handled by FreeMarker feature.
Functions
Link copied to clipboard
suspend fun ApplicationCall.respondTemplate(template: String, model: Any? = null, etag: String? = null, contentType: ContentType = ContentType.Text.Html.withCharset(Charsets.UTF_8))
Content copied to clipboard