- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Duration (0.14 sec)
-
okhttp/src/test/java/okhttp3/CallTest.kt
// 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)) .build() val request = Request.Builder().url(server.url("/b")).build()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 142.5K bytes - Viewed (0)