class Protocol::HTTP::Body::Stream

def close_read(error = nil)

@parameter error [Exception | Nil] The error that was encountered, if any.

If, while processing the data that was read from this stream, an error is encountered, it should be passed to this method.

Close the input body.
def close_read(error = nil)
	if input = @input
		@input = nil
		@closed_read = true
		@buffer = nil
		
		input.close(error)
	end
end