Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for cancelAsyncCall (0.07 seconds)

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

        }
        assertThat(eventRecorder.recordedEventTypes()).containsExactly(
          Canceled::class,
          CallStart::class,
          CallFailed::class,
        )
      }
    
      @Test
      fun cancelAsyncCall() {
        server.enqueue(
          MockResponse
            .Builder()
            .body("abc")
            .build(),
        )
        val call =
          client.newCallWithListener(
            Request
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 70.5K bytes
    - Click Count (0)
Back to Top