class Protocol::HTTP::Body::Streamable::Body

def close_input(error = nil)

@parameter error [Exception | Nil] The error that caused this stream to be closed, if any.

Close the input. The streaming body will eventually read all the input.
def close_input(error = nil)
	if input = @input
		@input = nil
		input.close(error)
	end
end