Update EchoServer example

This commit is contained in:
Alex Hultman
2018-12-22 06:02:38 +01:00
parent 038111fb98
commit fb95abad71
+1 -1
View File
@@ -9,7 +9,7 @@ int main() {
/* Very simple WebSocket echo server */ /* Very simple WebSocket echo server */
uWS::App().ws<PerSocketData>("/*", { uWS::App().ws<PerSocketData>("/*", {
/* Settings */ /* Settings */
.compression = true, .compression = uWS::SHARED_COMPRESSOR,
.maxPayloadLength = 16 * 1024, .maxPayloadLength = 16 * 1024,
/* Handlers */ /* Handlers */
.open = [](auto *ws, auto *req) { .open = [](auto *ws, auto *req) {