- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ofSeconds (0.04 sec)
-
okhttp/src/test/java/okhttp3/CallTest.kt
.throttleBody(1, 750, TimeUnit.MILLISECONDS) .build(), ) // First request: time out after 1s. client = client.newBuilder() .readTimeout(Duration.ofSeconds(1)) .build() executeSynchronously("/a").assertBody("abc") // Second request: time out after 250ms. client = client.newBuilder() .readTimeout(Duration.ofMillis(250))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0)