Skip to content

Commit

Permalink
Update EchoServer example
Browse files Browse the repository at this point in the history
  • Loading branch information
uNetworkingAB committed Dec 22, 2018
1 parent 038111f commit fb95aba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/EchoServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ int main() {
/* Very simple WebSocket echo server */
uWS::App().ws<PerSocketData>("/*", {
/* Settings */
.compression = true,
.compression = uWS::SHARED_COMPRESSOR,
.maxPayloadLength = 16 * 1024,
/* Handlers */
.open = [](auto *ws, auto *req) {
Expand Down

0 comments on commit fb95aba

Please sign in to comment.