- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for computeCandidate (0.07 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt
} } } } } /** Returns a strategy to satisfy [request] using [cacheResponse]. */ fun compute(): CacheStrategy { val candidate = computeCandidate() // We're forbidden from using the network and the cache is insufficient. if (candidate.networkRequest != null && request.cacheControl.onlyIfCached) { return CacheStrategy(null, null) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:24:48 UTC 2024 - 12K bytes - Viewed (0)