ゴミ箱
Public Attributes | List of all members
boost::beast::websocket::permessage_deflate Struct Reference

#include <option.hpp>

Public Attributes

bool server_enable = false
 true to offer the extension in the server role More...
 
bool client_enable = false
 true to offer the extension in the client role More...
 
int server_max_window_bits = 15
 
int client_max_window_bits = 15
 
bool server_no_context_takeover = false
 true if server_no_context_takeover desired More...
 
bool client_no_context_takeover = false
 true if client_no_context_takeover desired More...
 
int compLevel = 8
 Deflate compression level 0..9. More...
 
int memLevel = 4
 Deflate memory level, 1..9. More...
 

Detailed Description

permessage-deflate extension options.

These settings control the permessage-deflate extension, which allows messages to be compressed.

Note
Objects of this type are used with beast::websocket::stream::set_option.

Member Data Documentation

bool boost::beast::websocket::permessage_deflate::client_enable = false

true to offer the extension in the client role

int boost::beast::websocket::permessage_deflate::client_max_window_bits = 15

Maximum client window bits to offer

Note
Due to a bug in ZLib, this value must be greater than 8.
bool boost::beast::websocket::permessage_deflate::client_no_context_takeover = false

true if client_no_context_takeover desired

int boost::beast::websocket::permessage_deflate::compLevel = 8

Deflate compression level 0..9.

int boost::beast::websocket::permessage_deflate::memLevel = 4

Deflate memory level, 1..9.

bool boost::beast::websocket::permessage_deflate::server_enable = false

true to offer the extension in the server role

int boost::beast::websocket::permessage_deflate::server_max_window_bits = 15

Maximum server window bits to offer

Note
Due to a bug in ZLib, this value must be greater than 8.
bool boost::beast::websocket::permessage_deflate::server_no_context_takeover = false

true if server_no_context_takeover desired


The documentation for this struct was generated from the following file: