Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for rstStream (0.06 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

              ),
          )
        peer.acceptFrame() // RST_STREAM
        peer.play()
    
        // Play it back.
        connect(peer, PushObserver.CANCEL, Http2Connection.Listener.REFUSE_INCOMING_STREAMS)
    
        // Verify the peer received what was expected.
        val rstStream = peer.takeFrame()
        assertThat(rstStream.type).isEqualTo(Http2.TYPE_RST_STREAM)
        assertThat(rstStream.streamId).isEqualTo(2)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
Back to top