class Protocol::HTTP::Body::ZStream

def close(error = nil)

@parameter error [Exception | Nil] the error that caused the stream to be closed.

Close the stream.
def close(error = nil)
	if stream = @stream
		@stream = nil
		stream.close unless stream.closed?
	end
	
	super
end