Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 37 of 37 for onResponse (0.74 sec)

  1. okhttp/api/jvm/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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.2K bytes
    - Viewed (0)
  2. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  3. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.3K bytes
    - Viewed (0)
  4. internal/grid/msg_string.go

    	_ = x[OpDisconnectServerMux-8]
    	_ = x[OpMuxClientMsg-9]
    	_ = x[OpMuxServerMsg-10]
    	_ = x[OpUnblockSrvMux-11]
    	_ = x[OpUnblockClMux-12]
    	_ = x[OpAckMux-13]
    	_ = x[OpRequest-14]
    	_ = x[OpResponse-15]
    	_ = x[OpDisconnect-16]
    	_ = x[OpMerged-17]
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. internal/grid/msg.go

    	// OpRequest is a single request + response.
    	// MuxID is returned in response.
    	OpRequest
    
    	// OpResponse is a response to a single request.
    	// FlagPayloadIsErr is used to signify that the payload is a string error converted to byte slice.
    	// When a response is received, the mux is already removed from the remote.
    	OpResponse
    
    	// OpDisconnect instructs that remote wants to disconnect
    	OpDisconnect
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 17:41:45 UTC 2025
    - 116.8K bytes
    - Viewed (0)
  7. internal/grid/connection.go

    			return
    		}
    	}
    }
    
    func (c *Connection) handleMsg(ctx context.Context, m message, subID *subHandlerID) {
    	switch m.Op {
    	case OpMuxServerMsg:
    		c.handleMuxServerMsg(ctx, m)
    	case OpResponse:
    		c.handleResponse(m)
    	case OpMuxClientMsg:
    		c.handleMuxClientMsg(ctx, m)
    	case OpUnblockSrvMux:
    		c.handleUnblockSrvMux(m)
    	case OpUnblockClMux:
    		c.handleUnblockClMux(m)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 46.9K bytes
    - Viewed (0)
Back to top