Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for configured (0.24 sec)

  1. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        server.enqueue(
          MockResponse(
            body = "bogus proxy connect response content",
            inTunnel = true,
          ),
        )
        server.enqueue(MockResponse(body = "response"))
    
        // Configure a single IP address for the host and a single configuration, so we only need one
        // failure to fail permanently.
        client =
          client.newBuilder()
            .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)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

        )
        executeSynchronously("/")
          .assertFailure(SSLHandshakeException::class.java)
      }
    
      @Test
      fun cleartextCallsFailWhenCleartextIsDisabled() {
        // Configure the client with only TLS configurations. No cleartext!
        client =
          client.newBuilder()
            .connectionSpecs(listOf(ConnectionSpec.MODERN_TLS, ConnectionSpec.COMPATIBLE_TLS))
            .build()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
Back to top