mention disablePerMessageDeflate in the doc
This commit is contained in:
@ -2,6 +2,10 @@
|
||||
|
||||
All changes to this project will be documented in this file.
|
||||
|
||||
## [11.1.0] - 2021-03-16
|
||||
|
||||
(ixwebsocket) Use LEAN_AND_MEAN Windows define to help with undefined link error when building a DLL. Support websocket server disablePerMessageDeflate option correctly.
|
||||
|
||||
## [11.0.9] - 2021-03-07
|
||||
|
||||
(ixwebsocket) Expose setHandshakeTimeout method
|
||||
|
@ -343,6 +343,10 @@ if (!res.first)
|
||||
return 1;
|
||||
}
|
||||
|
||||
// Per message deflate connection is enabled by default. It can be disabled
|
||||
// which might be helpful when running on low power devices such as a Rasbery Pi
|
||||
server.disablePerMessageDeflate();
|
||||
|
||||
// Run the server in the background. Server can be stoped by calling server.stop()
|
||||
server.start();
|
||||
|
||||
@ -410,6 +414,10 @@ if (!res.first)
|
||||
return 1;
|
||||
}
|
||||
|
||||
// Per message deflate connection is enabled by default. It can be disabled
|
||||
// which might be helpful when running on low power devices such as a Rasbery Pi
|
||||
server.disablePerMessageDeflate();
|
||||
|
||||
// Run the server in the background. Server can be stoped by calling server.stop()
|
||||
server.start();
|
||||
|
||||
|
Reference in New Issue
Block a user