class Protocol::HTTP2::Connection
def accept_stream(stream_id, &block)
Accept an incoming stream from the other side of the connnection.
def accept_stream(stream_id, &block) unless valid_remote_stream_id?(stream_id) raise ProtocolError, "Invalid stream id: #{stream_id}" end create_stream(stream_id, &block) end