zlib.params(level, strategy, callback)


此函数仅适用于基于 zlib 的流,即不适用于 Brotli。

¥This function is only available for zlib-based streams, i.e. not Brotli.

动态更新压缩级别和压缩策略。仅适用于 deflate 算法。

¥Dynamically update the compression level and compression strategy. Only applicable to deflate algorithm.