- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for disconnectRequestHalfway (0.4 sec)
-
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
val elapsedMillis = TimeUnit.NANOSECONDS.toMillis(elapsedNanos) assertThat(elapsedMillis).isGreaterThanOrEqualTo(1000L) inputStream.close() } @Test fun disconnectRequestHalfway() { server.enqueue(MockResponse().setSocketPolicy(SocketPolicy.DISCONNECT_DURING_REQUEST_BODY)) // Limit the size of the request body that the server holds in memory to an arbitrary
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 21.9K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
val elapsedMillis = TimeUnit.NANOSECONDS.toMillis(elapsedNanos) assertThat(elapsedMillis).isGreaterThanOrEqualTo(1000L) inputStream.close() } @Test fun disconnectRequestHalfway() { server.enqueue( MockResponse.Builder() .socketPolicy(DisconnectDuringRequestBody) .build(), )
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.5K bytes - Viewed (0)