Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for CancelCall (0.07 sec)

  1. okhttp/src/test/java/okhttp3/CallTest.kt

        latch.countDown()
        callback.await(server.url("/a")).assertFailure("Canceled", "Socket closed", "Socket is closed")
      }
    
      @Test
      fun cancelAll() {
        val call = client.newCall(Request(server.url("/")))
        call.enqueue(callback)
        client.dispatcher.cancelAll()
        callback.await(server.url("/")).assertFailure("Canceled", "Socket closed", "Socket is closed")
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  2. okhttp/api/okhttp.api

    public final class okhttp3/Dispatcher {
    	public final fun -deprecated_executorService ()Ljava/util/concurrent/ExecutorService;
    	public fun <init> ()V
    	public fun <init> (Ljava/util/concurrent/ExecutorService;)V
    	public final fun cancelAll ()V
    	public final fun executorService ()Ljava/util/concurrent/ExecutorService;
    	public final fun getIdleCallback ()Ljava/lang/Runnable;
    	public final fun getMaxRequests ()I
    	public final fun getMaxRequestsPerHost ()I
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
Back to top