Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for 2867 (1.49 sec)

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

     *
     * ## 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
     * does not participate in any [interceptors][Interceptor] or [event listeners][EventListener]. 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)
  2. okhttp/src/main/kotlin/okhttp3/Route.kt

        level = DeprecationLevel.ERROR,
      )
      fun socketAddress(): InetSocketAddress = socketAddress
    
      /**
       * Returns true if this route tunnels HTTPS or HTTP/2 through an HTTP proxy.
       * See [RFC 2817, Section 5.2][rfc_2817].
       *
       * [rfc_2817]: http://www.ietf.org/rfc/rfc2817.txt
       */
      fun requiresTunnel(): Boolean {
        if (proxy.type() != Proxy.Type.HTTP) return false
        return (address.sslSocketFactory != null) ||
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.3K bytes
    - Viewed (0)
Back to top