Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for origin (0.18 sec)

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

    import okhttp3.internal.authenticator.JavaNetAuthenticator
    
    /**
     * Performs either **preemptive** authentication before connecting to a proxy server, or
     * **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
    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. deploy_website.sh

    mkdocs gh-deploy
    
    # Restore Javadocs from 1.x, 2.x, and 3.x.
    git checkout gh-pages
    git cherry-pick bb229b9dcc9a21a73edbf8d936bea88f52e0a3ff
    git cherry-pick c695732f1d4aea103b826876c077fbfea630e244
    git push --set-upstream origin gh-pages
    
    # Delete our temp folder
    cd ..
    Shell Script
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Nov 20 15:26:12 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

          this.streamId = streamId
          this.associatedStreamId = associatedStreamId
          this.headerBlock = headerBlock
        }
    
        override fun alternateService(
          streamId: Int,
          origin: String,
          protocol: ByteString,
          host: String,
          port: Int,
          maxAge: Long,
        ) {
          throw UnsupportedOperationException()
        }
      }
    
      companion object {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

          }
        }
      }
    
      internal class CallReference(
        referent: RealCall,
        /**
         * Captures the stack trace at the time the Call is executed or enqueued. This is helpful for
         * identifying the origin of connection leaks.
         */
        val callStackTrace: Any?,
      ) : WeakReference<RealCall>(referent)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

       * requires us to have a DNS address for both hosts, which only happens after route planning. We
       * can't coalesce connections that use a proxy, since proxies don't tell us the origin server's IP
       * address.
       */
      private fun routeMatchesAny(candidates: List<Route>): Boolean {
        return candidates.any {
          it.proxy.type() == Proxy.Type.DIRECT &&
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

         *     service is the origin of the stream. When zero, the origin is specified in the `origin`
         *     parameter.
         * @param origin when present, the [origin](http://tools.ietf.org/html/rfc6454) is typically
         *     represented as a combination of scheme, host and port. When empty, the origin is that of
         *     the `streamId`.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        server.useHttps(handshakeCertificates.sslSocketFactory())
        server.enqueue(MockResponse(inTunnel = true))
        server.enqueue(MockResponse(body = "encrypted response from the origin server"))
        client =
          client.newBuilder()
            .proxy(server.toProxyAddress())
            .sslSocketFactory(
              handshakeCertificates.sslSocketFactory(),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Route.kt

    /**
     * The concrete route used by a connection to reach an abstract origin server. When creating a
     * connection the client has many options:
     *
     *  * **HTTP proxy:** a proxy server may be explicitly configured for the client. Otherwise, the
     *    [proxy selector][java.net.ProxySelector] is used. It may return multiple proxies to attempt.
     *  * **IP address:** whether connecting directly to an origin server or a proxy, opening a socket
    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)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/RouteSelector.kt

    import okhttp3.HttpUrl
    import okhttp3.Route
    import okhttp3.internal.canParseAsIpAddress
    import okhttp3.internal.immutableListOf
    import okhttp3.internal.toImmutableList
    
    /**
     * Selects routes to connect to an origin server. Each connection requires a choice of proxy server,
     * IP address, and TLS mode. Connections may also be recycled.
     */
    class RouteSelector(
      private val address: Address,
      private val routeDatabase: RouteDatabase,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Address.kt

    import java.util.Objects
    import javax.net.SocketFactory
    import javax.net.ssl.HostnameVerifier
    import javax.net.ssl.SSLSocketFactory
    import okhttp3.internal.toImmutableList
    
    /**
     * A specification for a connection to an origin server. For simple connections, this is the
     * server's hostname and port. If an explicit proxy is requested (or [no proxy][Proxy.NO_PROXY] is
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.4K bytes
    - Viewed (0)
Back to top