ktor-server-core / io.ktor.features / CachingHeaders / Configuration / options

options

fun options(provider: (OutgoingContent) -> CachingOptions?): Unit

Registers a function that can provide caching options for a given OutgoingContent