class Async::HTTP::Protocol::HTTP2::Request::Stream
def create_push_promise_stream(headers)
def create_push_promise_stream(headers) stream = @connection.create_push_promise_stream(&Stream.method(:create)) stream.headers = ::Protocol::HTTP::Headers.new # This will ultimately enqueue the request to be processed by the server: stream.receive_initial_headers(headers, false) return stream end