- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for createConnectTcpNextPlan (0.28 sec)
-
okhttp/src/test/java/okhttp3/FakeRoutePlanner.kt
fun createRetry(): FakePlan { check(retry == null) return FakePlan(nextPlanId++) .also { retry = it } } fun createConnectTcpNextPlan(): FakePlan { check(connectTcpNextPlan == null) return FakePlan(nextPlanId++) .also { connectTcpNextPlan = it } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 24 04:40:49 UTC 2024 - 6.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt
"plan 1 TLS connected", ) taskFaker.assertNoMoreTasks() } @Test fun tcpConnectFollowUpPlanUsed() { val plan0 = routePlanner.addPlan() val plan1 = plan0.createConnectTcpNextPlan() taskRunner.newQueue().execute("connect") { val result0 = finder.find() assertThat(result0).isEqualTo(plan1.connection) } taskFaker.runTasks() assertEvents(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 24 04:40:49 UTC 2024 - 20.9K bytes - Viewed (0)