- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for commonForceNetwork (0.15 sec)
-
okhttp/src/main/kotlin/okhttp3/CacheControl.kt
import java.util.concurrent.TimeUnit import kotlin.time.Duration import okhttp3.internal.commonBuild import okhttp3.internal.commonClampToInt import okhttp3.internal.commonForceCache import okhttp3.internal.commonForceNetwork import okhttp3.internal.commonImmutable import okhttp3.internal.commonNoCache import okhttp3.internal.commonNoStore import okhttp3.internal.commonNoTransform import okhttp3.internal.commonOnlyIfCached
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 10K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt
} return result } internal fun Long.commonClampToInt(): Int { return when { this > Int.MAX_VALUE -> Int.MAX_VALUE else -> toInt() } } internal fun CacheControl.Companion.commonForceNetwork() = CacheControl.Builder() .noCache() .build() internal fun CacheControl.Companion.commonForceCache() = CacheControl.Builder() .onlyIfCached() .maxStale(Int.MAX_VALUE.seconds)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 7.2K bytes - Viewed (0)