Package io.ktor.server.pebble
Types
Link copied to clipboard
class PebbleContent(template: String, model: Map<String, Any>, locale: Locale?, etag: String?, contentType: ContentType)
Content copied to clipboard
A response content handled by the Pebble plugin.
Functions
Link copied to clipboard
suspend fun ApplicationCall.respondTemplate(template: String, model: Map<String, Any>, locale: Locale? = 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 Pebble templates as views within your application. Provides the ability to respond with PebbleContent. You can learn more from Pebble.