- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for connectHttp2 (0.3 sec)
-
okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt
// Turn it into an http/2 connection that supports 5 concurrent streams // which can satisfy a larger policy val connection = routePlanner.plans.first().connection val http2Connection = connectHttp2(peer, connection, 5) setPolicy(pool, address, ConnectionPool.AddressPolicy(5)) assertThat(pool.connectionCount()).isEqualTo(1) // Decrease the connection's max so that another connection is needed
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Apr 24 04:40:49 GMT 2024 - 12.7K bytes - Viewed (0)