Method: Protocol::HTTP2::Connection#receive_reset_stream
- Defined in:
- lib/protocol/http2/connection.rb
#receive_reset_stream(frame) ⇒ Object
411 412 413 414 415 416 417 |
# File 'lib/protocol/http2/connection.rb', line 411 def receive_reset_stream(frame) if stream = @streams[frame.stream_id] stream.receive_reset_stream(frame) else raise StreamClosed, "Cannot reset stream #{frame.stream_id}" end end |