...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
permessage-deflate extension options.
Defined in header <boost/beast/websocket/option.hpp>
struct permessage_deflate
Name |
Description |
---|---|
|
|
Maximum client window bits to offer. |
|
|
|
Deflate compression level 0..9. |
|
Deflate memory level, 1..9. |
|
The minimum size a message should have to be compressed. |
|
|
|
Maximum server window bits to offer. |
|
|
These settings control the permessage-deflate extension, which allows messages to be compressed.
Objects of this type are used with beast::websocket::stream::set_option
.