- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for headersDelay (0.14 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
"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 Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 60.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
@ArgumentsSource(ProtocolParamProvider::class) fun responseHeadersAfterGoaway(protocol: Protocol) { setUp(protocol) server.enqueue( MockResponse .Builder() .headersDelay(1, TimeUnit.SECONDS) .body("ABC") .build(), ) server.enqueue( MockResponse .Builder() .body("DEF") .onResponseEnd(ShutdownConnection)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 73.4K bytes - Viewed (0)