HttpCache
class HttpCache
This feature allow to use HTTP cache.
For detailed description follow: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control
Types
companion object Companion : |
|
class Config HttpCache configuration. |
Constructors
HttpCache( This feature allow to use HTTP cache. |
Properties
val privateStorage: HttpCacheStorage |
|
val publicStorage: HttpCacheStorage |
Companion Object Properties
val key: AttributeKey<HttpCache> The AttributeKey for this feature. |
Companion Object Functions
fun install(feature: HttpCache, scope: HttpClient): Unit Installs the feature class for a HttpClient defined at scope. |
|
Builds a TFeature by calling the block with a TConfig config instance as receiver. |