class Async::HTTP::Body::Writable

def close(error = nil)

Stop generating output; cause the next call to write to fail with the given error.
def close(error = nil)
	unless @closed
		@queue.enqueue(nil)
		
		@closed = true
		@error = error
	end
	
	super
end