Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for successfulHttpProxyConnect (1.81 sec)

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

          "ConnectFailed",
          "ConnectStart",
          "ConnectEnd",
          "ConnectionAcquired",
          "ConnectionReleased",
        )
      }
    
      @Test
      @Throws(IOException::class)
      fun successfulHttpProxyConnect() {
        server!!.enqueue(MockResponse())
        val proxy = server!!.proxyAddress
        client =
          client
            .newBuilder()
            .proxy(proxy)
            .build()
        val call =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

        listener.removeUpToEvent<CallEvent.ConnectFailed>()
        listener.removeUpToEvent<ConnectStart>()
        listener.removeUpToEvent<CallEvent.ConnectEnd>()
      }
    
      @Test
      fun successfulHttpProxyConnect() {
        server.enqueue(MockResponse())
        client =
          client
            .newBuilder()
            .proxy(server.proxyAddress)
            .build()
        val call =
          client.newCall(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
Back to top