ktor-http / io.ktor.http.content / CachingOptions

CachingOptions

data class CachingOptions

Specifies caching properties for an OutgoingContent such as Cache-Control or Expires

Constructors

<init>

CachingOptions(cacheControl: CacheControl? = null, expires: GMTDate? = null)

Specifies caching properties for an OutgoingContent such as Cache-Control or Expires

Properties

cacheControl

val cacheControl: CacheControl?

header

expires

val expires: GMTDate?

header