- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for RealRoutePlanner (0.09 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ForceConnectRoutePlanner.kt
*/ package okhttp3.internal.connection /** * A RoutePlanner that will always establish a new connection, ignoring any connection pooling */ class ForceConnectRoutePlanner( private val delegate: RealRoutePlanner, ) : RoutePlanner by delegate { override fun plan(): RoutePlanner.Plan = delegate.planConnect() // not delegate.plan()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 937 bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
request = call.request(), ) fun newRoutePlanner( client: OkHttpClient, address: Address = newAddress(), ): RealRoutePlanner { val call = RealCall(client, Request(address.url), forWebSocket = false) val chain = newChain(call) return RealRoutePlanner( taskRunner = client.taskRunner, connectionPool = client.connectionPool.delegate, readTimeoutMillis = client.readTimeoutMillis,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 12:06:21 GMT 2026 - 6.6K bytes - Click Count (0)