Class: HTTP2::Stream
- Inherits:
-
Object
- Object
- HTTP2::Stream
- Defined in:
- lib/tipi/http2_adapter.rb
Overview
patch to fix bug in HTTP2::Stream
Instance Method Summary collapse
Instance Method Details
#end_stream?(frame) ⇒ Boolean
8 9 10 11 12 13 14 |
# File 'lib/tipi/http2_adapter.rb', line 8 def end_stream?(frame) case frame[:type] when :data, :headers, :continuation frame[:flags]&.include?(:end_stream) else false end end |