...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 |
---|---|
true to offer the extension in the client role |
|
Maximum client window bits to offer. |
|
true if client_no_context_takeover desired |
|
Deflate compression level 0..9. |
|
Deflate memory level, 1..9. |
|
true to offer the extension in the server role |
|
Maximum server window bits to offer. |
|
true if server_no_context_takeover desired |
These settings control the permessage-deflate extension, which allows messages to be compressed.
Objects of this type are used with websocket::stream::set_option
.
Convenience header <boost/beast/websocket.hpp>