Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mkcall1 (0.04 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

            }
          }
        client =
          client.newBuilder()
            .proxy(server.toProxyAddress())
            .build()
        val call1 = client.newCall(Request("https://android.com/call1".toHttpUrl()))
        val response2 = call1.execute()
        assertThat(response2.body.string()).isEqualTo("call1 response")
        val call1Connect = server.takeRequest()
        assertThat(call1Connect.method).isEqualTo("CONNECT")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/EventListenerTest.kt

        server.enqueue(MockResponse())
        server.enqueue(MockResponse())
    
        // Seed the pool.
        val call1 =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .build(),
          )
        val response1 = call1.execute()
        assertThat(response1.code).isEqualTo(200)
        response1.body.close()
        listener.clearAllEvents()
        val call2 =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (0)
Back to top