Method: Protocol::HTTP2::Connection#accept_push_promise_stream

Defined in:
lib/protocol/http2/connection.rb

#accept_push_promise_stream(stream_id, &block) ⇒ Object

Accept an incoming push promise from the other side of the connection. On the client side, we accept push promise streams. On the server side, existing streams create push promise streams.



351
352
353
# File 'lib/protocol/http2/connection.rb', line 351

def accept_push_promise_stream(stream_id, &block)
  accept_stream(stream_id, &block)
end