- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for headersDelay (0.14 sec)
-
okhttp/src/test/java/okhttp3/EventListenerTest.kt
"ResponseBodyEnd", "ConnectionReleased", "CallEnd", ) } @Test fun failedCallEventSequence() { server.enqueue( MockResponse.Builder() .headersDelay(2, TimeUnit.SECONDS) .build(), ) client = client.newBuilder() .readTimeout(Duration.ofMillis(250)) .build() val call = client.newCall(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 56.9K bytes - Viewed (2) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
fun responseHeadersAfterGoaway( protocol: Protocol, mockWebServer: MockWebServer, ) { setUp(protocol, mockWebServer) server.enqueue( MockResponse.Builder() .headersDelay(1, TimeUnit.SECONDS) .body("ABC") .build(), ) server.enqueue( MockResponse( body = "DEF", socketPolicy = DisconnectAtEnd, ), )
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 75.3K bytes - Viewed (0)