- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for newRouteSelector (0.1 sec)
-
okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt
val address = factory.newAddress() var routeSelector = newRouteSelector(address) assertThat(routeSelector.hasNext()).isTrue() dns[uriHost] = dns.allocate(1) var selection = routeSelector.next() val route = selection.next() routeDatabase.failed(route) routeSelector = newRouteSelector(address) selection = routeSelector.next()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Mar 06 17:33:38 UTC 2024 - 20.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
var newRouteSelector = routeSelector if (newRouteSelector == null) { newRouteSelector = RouteSelector( address = address, routeDatabase = routeDatabase, connectionUser = connectionUser, fastFallback = fastFallback, ) routeSelector = newRouteSelector }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 12K bytes - Viewed (0)