ktor-server-core / io.ktor.features / CachingHeaders / <init>

<init>

CachingHeaders(optionsProviders: List<(OutgoingContent) -> CachingOptions?>)

Feature that set CachingOptions headers for every response. It invokes optionsProviders for every response and use first non null caching options