CachingHeaders
class CachingHeaders(optionsProviders: List<(OutgoingContent) -> CachingOptions?>)
Content copied to clipboard
Feature that set CachingOptions headers for every response. It invokes optionsProviders for every response and use first non null caching options
Constructors
Link copied to clipboard
fun CachingHeaders(optionsProviders: List<(OutgoingContent) -> CachingOptions?>)
Content copied to clipboard
Types
Link copied to clipboard
Configuration for CachingHeaders feature
Link copied to clipboard
object Feature : ApplicationFeature<ApplicationCallPipeline, CachingHeaders.Configuration, CachingHeaders>
Content copied to clipboard
ApplicationFeature
implementation for ConditionalHeaders