- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for requireMultiplexed (0.07 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
address: Address, call: RealCall, routes: List<Route>?, requireMultiplexed: Boolean, ): RealConnection? { for (connection in connections) { // In the first synchronized block, acquire the connection if it can satisfy this call. val acquired = connection.withLock { when { requireMultiplexed && !connection.isMultiplexed -> { false }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 11.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
val result = connectionPool.callAcquirePooledConnection( doExtensiveHealthChecks = doExtensiveHealthChecks, address = address, call = call, routes = routes, requireMultiplexed = planToReplace != null && planToReplace.isReady, ) ?: return null // If we coalesced our connection, remember the replaced connection's route. That way if theCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.1K bytes - Click Count (0)