Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for proxyAuthenticator (0.12 sec)

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

         *
         * If unset, the [no authentication will be attempted][Authenticator.NONE].
         */
        fun proxyAuthenticator(proxyAuthenticator: Authenticator) =
          apply {
            if (proxyAuthenticator != this.proxyAuthenticator) {
              this.routeDatabase = null
            }
    
            this.proxyAuthenticator = proxyAuthenticator
          }
    
        /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  2. okhttp/api/okhttp.api

    	public fun hashCode ()I
    	public final fun hostnameVerifier ()Ljavax/net/ssl/HostnameVerifier;
    	public final fun protocols ()Ljava/util/List;
    	public final fun proxy ()Ljava/net/Proxy;
    	public final fun proxyAuthenticator ()Lokhttp3/Authenticator;
    	public final fun proxySelector ()Ljava/net/ProxySelector;
    	public final fun socketFactory ()Ljavax/net/SocketFactory;
    	public final fun sslSocketFactory ()Ljavax/net/ssl/SSLSocketFactory;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/EventListenerTest.kt

          MockResponse.Builder()
            .inTunnel()
            .build(),
        )
        server.enqueue(MockResponse())
        client =
          client.newBuilder()
            .proxy(server.toProxyAddress())
            .proxyAuthenticator(RecordingOkAuthenticator("password", "Basic"))
            .build()
        val call =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .build(),
          )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (2)
  4. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        )
        server.enqueue(MockResponse(inTunnel = true))
        server.enqueue(MockResponse(body = "response body"))
        val client =
          client.newBuilder()
            .proxy(server.toProxyAddress())
            .proxyAuthenticator(RecordingOkAuthenticator("password", "Basic"))
            .build()
    
        val url = server.url("/").resolve("//android.com/foo")!!
        val port =
          when (url.scheme) {
            "https" -> 443
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
Back to top