Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Callbacks (0.19 sec)

  1. docs/changelogs/changelog_3x.md

    ## Version 3.7.0
    
    _2017-04-15_
    
     *  **OkHttp no longer recovers from TLS handshake failures by attempting a TLSv1 connection.**
        The fallback was necessary for servers that implemented version negotiation incorrectly. Now
        that 99.99% of servers do it right this fallback is obsolete.
     *  Fix: Do not honor cookies set on a public domain. Previously a malicious site could inject
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

            }
            response.request
          }
        val blockingAuthClient =
          client.newBuilder()
            .authenticator(authenticator)
            .build()
        val callback: Callback =
          object : Callback {
            override fun onFailure(
              call: Call,
              e: IOException,
            ) {
              fail("")
            }
    
            override fun onResponse(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/EventListenerTest.kt

        )
        val call =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .build(),
          )
        val completionLatch = CountDownLatch(1)
        val callback: Callback =
          object : Callback {
            override fun onFailure(
              call: Call,
              e: IOException,
            ) {
              completionLatch.countDown()
            }
    
            override fun onResponse(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

        fun retryOnConnectionFailure(retryOnConnectionFailure: Boolean) =
          apply {
            this.retryOnConnectionFailure = retryOnConnectionFailure
          }
    
        /**
         * Configure this client to perform fast fallbacks by attempting multiple connections
         * concurrently, returning once any connection connects successfully.
         *
         * This implements Happy Eyeballs ([RFC 6555][rfc_6555]), balancing connect latency vs.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  5. docs/bucket/notifications/README.md

    channel.queue_bind(exchange='bucketevents',
                       queue=queue_name)
    
    print(' [*] Waiting for logs. To exit press CTRL+C')
    
    def callback(ch, method, properties, body):
        print(" [x] %r" % body)
    
    channel.basic_consume(callback,
                          queue=queue_name,
                          no_ack=False)
    
    channel.start_consuming()
    ```
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
  6. .bazelrc

    low/compiler/mlir/tfrt/transforms/mlrt,tensorflow/core/runtime_fallback,tensorflow/core/runtime_fallback/conversion,tensorflow/core/runtime_fallback/kernel,tensorflow/core/runtime_fallback/opdefs,tensorflow/core/runtime_fallback/runtime,tensorflow/core/runtime_fallback/util,tensorflow/core/runtime_fallback/test,tensorflow/core/runtime_fallback/test/gpu,tensorflow/core/runtime_fallback/test/saved_model,tensorflow/core/runtime_fallback/test/testdata,tensorflow/core/tfrt/stubs,tensorflow/core/tfrt/...
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu May 02 19:34:20 GMT 2024
    - 52.8K bytes
    - Viewed (2)
  7. okhttp/api/okhttp.api

    	public static final field TYPE_A I
    	public static final field TYPE_AAAA I
    	public abstract fun query (Ljava/lang/String;Lokhttp3/AsyncDns$Callback;)V
    }
    
    public abstract interface class okhttp3/AsyncDns$Callback {
    	public abstract fun onFailure (Ljava/lang/String;Ljava/io/IOException;)V
    	public abstract fun onResponse (Ljava/lang/String;Ljava/util/List;)V
    }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
Back to top