Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for transmitted (0.16 sec)

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

        )
        val read = response1.body.source().read(ByteArray(8192))
        assertThat(read).isEqualTo(8192)
    
        // Make a second call that should transmit the response headers. The response body won't be
        // transmitted until the flow-control window is updated from the first request.
        val call2 = client.newCall(Request(server.url("/")))
        val response2 = call2.execute()
        assertThat(response2.code).isEqualTo(200)
    
    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. docs/changelogs/changelog_3x.md

     *  **OkHttp now supports duplex calls over HTTP/2.** With normal HTTP calls the request must finish
        before the response starts. With duplex, request and response bodies are transmitted
        simultaneously. This can be used to implement interactive conversations within a single HTTP
        call.
    
        Create duplex calls by overriding the new `RequestBody.isDuplex()` method to return true.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
Back to top