HTTPCacheOptionsBuilder¶
A builder struct for constructing an instance of HTTPCacheOptions with optional configuration settings.
Methods:¶
HTTPCacheOptionsBuilder WithMaxCacheSize(UInt64)¶
- Sets the maximum cache size for the HTTP cache.
HTTPCacheOptionsBuilder WithDeleteOlderThen(TimeSpan)¶
- Sets the maximum duration for which cached entries will be retained. By default all entities (even stalled ones) are kept cached until they are evicted to make room for new, fresh ones.
HTTPCacheOptions Build()¶
- Builds and returns an instance of HTTPCacheOptions with the specified configuration settings.