- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for computeCandidate (0.12 seconds)
-
okhttp/src/commonJvmAndroid/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) }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 12K bytes - Click Count (0)