Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Dispatcher (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

          this.taskRunner = okHttpClient.taskRunner
        }
    
        /**
         * Sets the dispatcher used to set policy and execute asynchronous requests. Must not be null.
         */
        fun dispatcher(dispatcher: Dispatcher) =
          apply {
            this.dispatcher = dispatcher
          }
    
        /**
         * Sets the connection pool used to recycle HTTP and HTTPS connections.
         *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 51.4K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

            CountDownLatch(0),
          )
        val dispatcher = RespondAfterCancelDispatcher(responseDequeuedLatches, requestCanceledLatches)
        dispatcher.enqueue(
          MockResponse
            .Builder()
            .bodyDelay(10, TimeUnit.SECONDS)
            .body("abc")
            .build(),
        )
        dispatcher.enqueue(
          MockResponse(body = "def"),
        )
        server.dispatcher = dispatcher
        client =
          client
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 67.4K bytes
    - Viewed (0)
  3. okhttp/api/jvm/okhttp.api

    	public fun connectionAcquired (Lokhttp3/Call;Lokhttp3/Connection;)V
    	public fun connectionReleased (Lokhttp3/Call;Lokhttp3/Connection;)V
    	public fun dispatcherQueueEnd (Lokhttp3/Call;Lokhttp3/Dispatcher;)V
    	public fun dispatcherQueueStart (Lokhttp3/Call;Lokhttp3/Dispatcher;)V
    	public fun dnsEnd (Lokhttp3/Call;Ljava/lang/String;Ljava/util/List;)V
    	public fun dnsStart (Lokhttp3/Call;Ljava/lang/String;)V
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.2K bytes
    - Viewed (0)
  4. okhttp/api/android/okhttp.api

    	public fun connectionAcquired (Lokhttp3/Call;Lokhttp3/Connection;)V
    	public fun connectionReleased (Lokhttp3/Call;Lokhttp3/Connection;)V
    	public fun dispatcherQueueEnd (Lokhttp3/Call;Lokhttp3/Dispatcher;)V
    	public fun dispatcherQueueStart (Lokhttp3/Call;Lokhttp3/Dispatcher;)V
    	public fun dnsEnd (Lokhttp3/Call;Ljava/lang/String;Ljava/util/List;)V
    	public fun dnsStart (Lokhttp3/Call;Ljava/lang/String;)V
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.3K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

            )
    
          return mapOf(
            Boolean::class.java to false,
            Call::class.java to FailingCall(),
            Connection::class.java to factory.newConnection(pool, route),
            Dispatcher::class.java to Dispatcher(),
            Handshake::class.java to handshake,
            HttpUrl::class.java to url,
            IOException::class.java to IOException("boom"),
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.5K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_3x.md

     *  Fix: Don't crash when building `HandshakeCertificates` on Android API 28.
     *  Fix: Permit multipart file names to contain non-ASCII characters.
     *  New: API to get MockWebServer's dispatcher.
     *  New: API to access headers as `java.time.Instant`.
     *  New: Fail fast if a `SSLSocketFactory` is used as a `SocketFactory`.
     *  New: Log the TLS handshake in `LoggingEventListener`.
    
    ## Version 3.12.13
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
Back to top