class Async::HTTP::Protocol::HTTP2::Response::Stream
def accept_push_promise_stream(promised_stream_id, headers)
def accept_push_promise_stream(promised_stream_id, headers) stream = @connection.accept_push_promise_stream(promised_stream_id, &Stream.method(:create)) stream.response.build_request(headers) @response.promises.enqueue(stream.response) return stream end