mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 12:57:31 +02:00
committed by
Mohammad Nejati
parent
7d4da621ac
commit
40c22cbfa7
@ -21,8 +21,13 @@ namespace websocket {
|
||||
These settings control the permessage-deflate extension,
|
||||
which allows messages to be compressed.
|
||||
|
||||
@note Objects of this type are used with
|
||||
@ref beast::websocket::stream::set_option.
|
||||
@note
|
||||
|
||||
These settings should be configured before performing the WebSocket
|
||||
handshake.
|
||||
|
||||
Objects of this type are used with
|
||||
@ref beast::websocket::stream::set_option.
|
||||
*/
|
||||
struct permessage_deflate
|
||||
{
|
||||
|
@ -398,6 +398,11 @@ public:
|
||||
|
||||
@throws invalid_argument if `deflateSupported == false`, and either
|
||||
`client_enable` or `server_enable` is `true`.
|
||||
|
||||
@note
|
||||
|
||||
These settings should be configured before performing the WebSocket
|
||||
handshake.
|
||||
*/
|
||||
void
|
||||
set_option(permessage_deflate const& o);
|
||||
|
Reference in New Issue
Block a user