ConditionalHeaders
class ConditionalHeaders(versionProviders: List<suspend (OutgoingContent) -> List<Version>>)
Content copied to clipboard
Feature to check modified/match conditional headers and avoid sending contents if it was not changed
Constructors
Link copied to clipboard
fun ConditionalHeaders(versionProviders: List<suspend (OutgoingContent) -> List<Version>>)
Content copied to clipboard
Types
Link copied to clipboard
Configuration for ConditionalHeaders feature
Link copied to clipboard
object Feature : ApplicationFeature<ApplicationCallPipeline, ConditionalHeaders.Configuration, ConditionalHeaders>
Content copied to clipboard
ApplicationFeature
implementation for ConditionalHeaders
Functions
Link copied to clipboard
Retrieves versions such as LastModifiedVersion or EntityTagVersion for a given content