Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for canceledCallEventSequence (0.08 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

          "CallFailed",
        )
        val responseFailed = listener.removeUpToEvent<ResponseFailed>()
        assertThat(responseFailed.ioe.message).isEqualTo("unexpected end of stream")
      }
    
      @Test
      fun canceledCallEventSequence() {
        val call =
          client.newCall(
            Request
              .Builder()
              .url(server.url("/"))
              .build(),
          )
        call.cancel()
        assertFailsWith<IOException> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
Back to top