Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for connectionAcquired (0.09 sec)

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

          )
        val response = call.execute()
        assertThat(response.code).isEqualTo(200)
        response.body.close()
        val connectionAcquired = listener.removeUpToEvent<ConnectionAcquired>()
        assertThat(connectionAcquired.call).isSameAs(call)
        assertThat(connectionAcquired.connection).isNotNull()
      }
    
      @Test
      fun noConnectionFoundOnFollowUp() {
        server.enqueue(
          MockResponse.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (2)
  2. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        )
        val connections: MutableList<RealConnection?> = ArrayList()
        val localClient =
          client.newBuilder().eventListener(
            object : EventListener() {
              override fun connectionAcquired(
                call: Call,
                connection: Connection,
              ) {
                connections.add(connection as RealConnection)
              }
            },
          ).build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  3. okhttp/api/okhttp.api

    	public fun connectEnd (Lokhttp3/Connection;Lokhttp3/Route;Lokhttp3/Call;)V
    	public fun connectFailed (Lokhttp3/Route;Lokhttp3/Call;Ljava/io/IOException;)V
    	public fun connectStart (Lokhttp3/Route;Lokhttp3/Call;)V
    	public fun connectionAcquired (Lokhttp3/Connection;Lokhttp3/Call;)V
    	public fun connectionClosed (Lokhttp3/Connection;)V
    	public fun connectionReleased (Lokhttp3/Connection;Lokhttp3/Call;)V
    	public fun noNewExchanges (Lokhttp3/Connection;)V
    }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
Back to top