class Protocol::HTTP::Body::Stream

def close_write(error = nil)

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

If, while generating the data that is written to this stream, an error is encountered, it should be passed to this method.

Close the output body.
def close_write(error = nil)
	if output = @output
		@output = nil
		
		output.close_write(error)
	end
end