Package io.ktor.velocity
Types
Link copied to clipboard
Velocity ktor feature. Provides ability to respond with VelocityContent and respondTemplate.
Link copied to clipboard
class VelocityContent(template: String, model: Map<String, Any>, etag: String?, contentType: ContentType)
Content copied to clipboard
Represents a response content that could be used to respond with call.respond(VelocityContent(...))
Link copied to clipboard
VelocityTools ktor feature. Populates model with standard Velocity tools.
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))
Content copied to clipboard