Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for pushPromiseStream (0.09 sec)

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

        var data = peer.takeFrame()
        assertThat(data.data!!.size).isEqualTo(peer.maxOutboundDataLength())
        data = peer.takeFrame()
        assertThat(data.data!!.size).isEqualTo(1)
      }
    
      @Test fun pushPromiseStream() {
        // Write the mocking script.
        peer.sendFrame().settings(Settings())
        peer.acceptFrame() // ACK
        peer.acceptFrame() // SYN_STREAM
        peer.sendFrame().headers(false, 3, headerEntries("a", "android"))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
Back to top