ktor-velocity / io.ktor.velocity / Velocity

Velocity

class Velocity

Velocity ktor feature. Provides ability to respond with VelocityContent and respondTemplate.

Types

Feature

companion object Feature : ApplicationFeature<ApplicationCallPipeline, VelocityEngine, Velocity>

A companion object for installing feature

Constructors

<init>

Velocity(engine: VelocityEngine)

Velocity ktor feature. Provides ability to respond with VelocityContent and respondTemplate.

Companion Object Properties

key

val key: AttributeKey<Velocity>

Companion Object Functions

install

fun install(pipeline: ApplicationCallPipeline, configure: VelocityEngine.() -> Unit): Velocity