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

Unique key that identifies a feature

Companion Object Functions

install

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

Feature installation script