|
Orbit Framework 2.0.0
A high-performance asynchronous C++20 HTTP server framework.
|
Options for compress(). More...
#include <Compress.hpp>
Public Attributes | |
| std::vector< ContentCoding > | preference {ContentCoding::Brotli, ContentCoding::Zstd, ContentCoding::Gzip} |
| Codings offered, best first. Codings this build lacks are skipped. | |
| size_t | min_size = 150 |
| Bodies smaller than this are sent as they are. | |
| int | gzip_level = 6 |
| 1 (fast) to 9 (small) | |
| int | brotli_quality = 5 |
| 0 to 11; 4 to 6 suits responses made per request | |
| int | zstd_level = 3 |
| 1 to 19 | |
Options for compress().
| int orbit::middleware::CompressOptions::brotli_quality = 5 |
0 to 11; 4 to 6 suits responses made per request
| int orbit::middleware::CompressOptions::gzip_level = 6 |
1 (fast) to 9 (small)
| size_t orbit::middleware::CompressOptions::min_size = 150 |
Bodies smaller than this are sent as they are.
| std::vector<ContentCoding> orbit::middleware::CompressOptions::preference {ContentCoding::Brotli, ContentCoding::Zstd, ContentCoding::Gzip} |
Codings offered, best first. Codings this build lacks are skipped.
| int orbit::middleware::CompressOptions::zstd_level = 3 |
1 to 19