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