Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for proxyAuthenticator (0.07 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 147.4K 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
Back to top