Method: HTTP::Protocol::HTTP2::Connection#receive_priority
- Defined in:
- lib/http/protocol/http2/connection.rb
#receive_priority(frame) ⇒ Object
290 291 292 293 294 295 296 297 298 299 300 301 |
# File 'lib/http/protocol/http2/connection.rb', line 290 def receive_priority(frame) if stream = @streams[frame.stream_id] stream.receive_priority(frame) elsif deleted_stream? frame # ignore else stream = create_stream(frame.stream_id) stream.receive_priority(frame) @streams[frame.stream_id] = stream end end |