Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for newCall (0.05 sec)

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

        server.enqueue(mockResponse.build())
    
        client.newCall(request).execute().use {
          it.body.bytes()
        }
        return client.newCall(request).execute()
      }
    
      private operator fun get(url: HttpUrl): Response {
        val request =
          Request.Builder()
            .url(url)
            .build()
        return client.newCall(request).execute()
      }
    
      private fun writeFile(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

        server.enqueue(MockResponse(body = "ghi"))
        client.newCall(Request.Builder().url(server.url("/a")).build()).enqueue(callback)
        callback.await(server.url("/a")).assertBody("abc")
        client.newCall(Request.Builder().url(server.url("/b")).build()).enqueue(callback)
        callback.await(server.url("/b")).assertBody("def")
        client.newCall(Request.Builder().url(server.url("/c")).build()).enqueue(callback)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        server.enqueue(mockResponse2.build())
        val call1 = client.newCall(newRequest("/"))
        val response1 = call1.execute()
        val in1 = response1.body.byteStream()
        assertThat(readAscii(in1, 5)).isEqualTo("ABCDE")
        in1.close()
        call1.cancel()
        val call2 = client.newCall(newRequest("/"))
        val response2 = call2.execute()
        val in2 = response2.body.byteStream()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  4. okhttp-android/src/main/baseline-prof.txt

    HSPLokhttp3/OkHttpClient;-><clinit>()V
    HSPLokhttp3/OkHttpClient;-><init>(Lokhttp3/OkHttpClient$Builder;)V
    HSPLokhttp3/OkHttpClient;->newBuilder()Lokhttp3/OkHttpClient$Builder;
    HSPLokhttp3/OkHttpClient;->newCall(Lokhttp3/Request;)Lokhttp3/Call;
    HSPLokhttp3/Protocol$Companion;-><init>(Landroidx/lifecycle/viewmodel/R$id;)V
    HSPLokhttp3/Protocol;-><clinit>()V
    HSPLokhttp3/Protocol;-><init>(Ljava/lang/String;ILjava/lang/String;)V
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
  5. src/main/webapp/js/jquery-3.7.1.min.map

    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 131.6K bytes
    - Viewed (0)
  6. src/main/webapp/js/admin/jquery-3.7.1.min.map

    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 131.6K bytes
    - Viewed (0)
Back to top