Class CompressionMode (1.7.0)

CompressionMode(value)

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