CacheStrategy

Determines whether to use a cached response from the disk cache and/or perform a new network request.

Types

Link copied to clipboard
class Input(val cacheResponse: CacheResponse, val networkRequest: NetworkRequest, val options: Options)
Link copied to clipboard
class Output

Functions

Link copied to clipboard
abstract suspend fun compute(input: CacheStrategy.Input): CacheStrategy.Output