class Async::HTTP::Protocol::HTTP2::Stream
def finish_input(input, error = nil)
@parameter input [Input] The input body being closed.
Close the application-facing receiving side of the stream. While local output remains active, incoming data is discarded with flow-control updates. Once local output is also closed, the remaining wire stream is terminated without an error.
def finish_input(input, error = nil) if @input.equal?(input) @input = nil @input_closed = true if error send_reset_stream(::Protocol::HTTP2::Error::INTERNAL_ERROR) else close_if_finished end end end