Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 33 of 33 for onResponse (0.09 sec)

  1. docs/changelogs/changelog_3x.md

        check if the call was canceled from within the callback. When migrating
        async calls to this new API, `Call` is now the first parameter for both
        `onResponse()` and `onFailure()`.
     *  Fix: handle multiple cookies in `JavaNetCookieJar` on Android.
     *  Fix: improve the default HTTP message in MockWebServer responses.
     *  Fix: don't leak file handles when a conditional GET throws.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  2. okhttp/api/android/okhttp.api

    	public abstract fun newCall (Lokhttp3/Request;)Lokhttp3/Call;
    }
    
    public abstract interface class okhttp3/Callback {
    	public abstract fun onFailure (Lokhttp3/Call;Ljava/io/IOException;)V
    	public abstract fun onResponse (Lokhttp3/Call;Lokhttp3/Response;)V
    }
    
    public final class okhttp3/CertificatePinner {
    	public static final field Companion Lokhttp3/CertificatePinner$Companion;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        val enRequest =
          Request
            .Builder()
            .url(url)
            .header("Accept-Language", "en-US")
            .build()
        val enResponse = client.newCall(enRequest).execute()
        assertThat(enResponse.body.string()).isEqualTo("B")
      }
    
      @Test
      fun varyMatchesUnchangedRequestHeaderField() {
        server.enqueue(
          MockResponse
            .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
Back to top