ktor-server-core / io.ktor.features / AutoHeadResponse

AutoHeadResponse

object AutoHeadResponse : ApplicationFeature<ApplicationCallPipeline, Unit, Unit>

A feature that automatically respond to HEAD requests

Properties

key

val key: AttributeKey<Unit>

Unique key that identifies a feature

Functions

install

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

Feature installation script