Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for proxyAuthenticator (0.14 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

            .newBuilder()
            .sslSocketFactory(
              handshakeCertificates.sslSocketFactory(),
              handshakeCertificates.trustManager,
            ).proxy(server.proxyAddress)
            .proxyAuthenticator(RecordingOkAuthenticator("password", "Basic"))
            .hostnameVerifier(RecordingHostnameVerifier())
            .build()
        val request = Request("https://android.com/foo".toHttpUrl())
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

          MockResponse
            .Builder()
            .inTunnel()
            .build(),
        )
        server.enqueue(MockResponse(body = "A"))
        client =
          client
            .newBuilder()
            .proxyAuthenticator(Authenticator.JAVA_NET_AUTHENTICATOR)
            .proxy(server.proxyAddress)
            .sslSocketFactory(
              handshakeCertificates.sslSocketFactory(),
              handshakeCertificates.trustManager,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
Back to top