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