expose compressor flush method as res.flush()