Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for negotiate (0.21 sec)

  1. okhttp/src/main/kotlin/okhttp3/Connection.kt

     * to a remote host. Newer TLS options are quite useful:
     *
     *  * Server Name Indication (SNI) enables one IP address to negotiate secure connections for
     *    multiple domain names.
     *
     *  * Application Layer Protocol Negotiation (ALPN) enables the HTTPS port (443) to be used to
     *    negotiate HTTP/2.
     *
     * Unfortunately, older HTTPS servers refuse to connect when such options are presented. Rather than
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  2. docs/features/connections.md

    There may be many routes for a single address. For example, a webserver that is hosted in multiple datacenters may yield multiple IP addresses in its DNS response.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Feb 21 03:33:59 GMT 2022
    - 5.4K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Authenticator.kt

     * **reactive** authentication after receiving a challenge from either an origin web server or proxy
     * server.
     *
     * ## Preemptive Authentication
     *
     * To make HTTPS calls using an HTTP proxy server OkHttp must first negotiate a connection with
     * the proxy. This proxy connection is called a "TLS Tunnel" and is specified by
     * [RFC 2817][1]. The HTTP CONNECT request that creates this tunnel connection is special: it
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  4. CHANGELOG.md

        its own IDN mapping table in the library.
    
     *  New: Prefer the client's configured precedence order for TLS cipher suites. (OkHttp used to
        prefer the JDK’s precedence order.) This change may cause your HTTP calls to negotiate a
        different cipher suite than before! OkHttp's defaults cipher suites are selected for good
        security and performance.
    
     *  New: `ConnectionListener` publishes events for connects, disconnects, and use of pooled
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

      val inetSocketAddress: InetSocketAddress
        get() {
          before()
          return InetSocketAddress(hostName, portField)
        }
    
      /**
       * True if ALPN is used on incoming HTTPS connections to negotiate a protocol like HTTP/1.1 or
       * HTTP/2. This is true by default; set to false to disable negotiation and restrict connections
       * to HTTP/1.1.
       */
      var protocolNegotiationEnabled: Boolean = true
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_4x.md

        memory if web socket compression is negotiated but not used.
    
    
    ## Version 4.5.0-RC1
    
    _2020-03-17_
    
    **This release candidate turns on web socket compression.**
    
    The [spec][rfc_7692] includes a sophisticated mechanism for client and server to negotiate
    compression features. We strive to offer great performance in our default configuration and so we're
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         * protocols. The http/1.1 transport will never be dropped.
         *
         * If multiple protocols are specified, [ALPN][alpn] will be used to negotiate a transport.
         * Protocol negotiation is only attempted for HTTPS URLs.
         *
         * [Protocol.HTTP_1_0] is not supported in this set. Requests are initiated with `HTTP/1.1`. If
    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)
  8. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

      internal const val B0_FLAG_FIN = 128
    
      /** Byte 0 reserved flag 1. Must be 0 unless negotiated otherwise. */
      internal const val B0_FLAG_RSV1 = 64
    
      /** Byte 0 reserved flag 2. Must be 0 unless negotiated otherwise. */
      internal const val B0_FLAG_RSV2 = 32
    
      /** Byte 0 reserved flag 3. Must be 0 unless negotiated otherwise. */
      internal const val B0_FLAG_RSV3 = 16
    
      /** Byte 0 mask for the frame opcode. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  9. docs/changelogs/changelog_1x.md

       OkHttp.
     * Expose the transport ("http/1.1", "spdy/3", etc.) via magic request headers.
       Use `X-Android-Transports` to write the preferred transports and
       `X-Android-Selected-Transport` to read the negotiated transport.
    
    
    ## Version 1.0.2
    
    _2013-05-11_
    
     * Fix: Remove use of Java 6-only APIs.
     * Fix: Properly handle exceptions from `NetworkInterface` when querying MTU.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  10. android-test/src/androidTest/java/okhttp/android/test/alpn/AlpnOverrideTest.kt

                ) {
                  val sslSocket = connection.socket() as SSLSocket
                  println("Requested " + sslSocket.sslParameters.applicationProtocols.joinToString())
                  println("Negotiated " + sslSocket.applicationProtocol)
                }
              },
            )
            .build()
    
        val request =
          Request.Builder()
            .url("https://www.google.com")
            .build()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.7K bytes
    - Viewed (0)
Back to top