- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for fullCallTimeoutDoesNotApplyOnceConnected (0.35 sec)
-
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt
.setHeader("content-type", "text/event-stream") .code(401) .build(), ) newEventSource() listener.assertFailure(null) } @Test fun fullCallTimeoutDoesNotApplyOnceConnected() { client = client.newBuilder() .callTimeout(250, TimeUnit.MILLISECONDS) .build() server.enqueue( MockResponse.Builder()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 6.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/DuplexTest.kt
call.execute() }.also { expected -> assertThat(expected.message).isEqualTo("timeout") assertTrue(call.isCanceled()) } } @Test fun fullCallTimeoutDoesNotApplyOnceConnected() { enableProtocol(Protocol.HTTP_2) val body = MockStreamHandler() .sendResponse("response A\n") .sleep(750, TimeUnit.MILLISECONDS)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 23.9K bytes - Viewed (0)