Class CompressionMode (1.8.0)

CompressionMode(value)

Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.