class HTTP2::Stream

patch to fix bug in HTTP2::Stream

Public Instance Methods

end_stream?(frame) click to toggle source
# 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