Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for RespondAfterCancelDispatcher (0.18 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

            CountDownLatch(0),
          )
        val requestCanceledLatches =
          listOf(
            CountDownLatch(1),
            CountDownLatch(0),
          )
        val dispatcher = RespondAfterCancelDispatcher(responseDequeuedLatches, requestCanceledLatches)
        dispatcher.enqueueResponse(
          MockResponse.Builder()
            .bodyDelay(10, TimeUnit.SECONDS)
            .body("abc")
            .build(),
        )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
Back to top