diff --git a/examples/EchoServer.cpp b/examples/EchoServer.cpp index cff3a49..bba88f8 100644 --- a/examples/EchoServer.cpp +++ b/examples/EchoServer.cpp @@ -9,7 +9,7 @@ int main() { /* Very simple WebSocket echo server */ uWS::App().ws("/*", { /* Settings */ - .compression = true, + .compression = uWS::SHARED_COMPRESSOR, .maxPayloadLength = 16 * 1024, /* Handlers */ .open = [](auto *ws, auto *req) {