Fix example build error (#949)

* Fixed example build error

* Update EchoServer.cpp
This commit is contained in:
yarreg
2019-10-17 04:52:26 +03:00
committed by Alex Hultman
parent 49f460ef20
commit e4d4ef9bbb
3 changed files with 4 additions and 1 deletions
+1
View File
@@ -14,6 +14,7 @@ int main() {
.compression = uWS::SHARED_COMPRESSOR,
.maxPayloadLength = 16 * 1024 * 1024,
.idleTimeout = 10,
.maxBackpressure = 1 * 1024 * 1204,
/* Handlers */
.open = [](auto *ws, auto *req) {
/* Let's make every connection subscribe to the "broadcast" topic */
+2 -1
View File
@@ -11,7 +11,8 @@ int main() {
/* Settings */
.compression = uWS::SHARED_COMPRESSOR,
.maxPayloadLength = 16 * 1024,
.idleTimeout = 10,
.idleTimeout = 10,
.maxBackpressure = 1 * 1024 * 1204,
/* Handlers */
.open = [](auto *ws, auto *req) {
+1
View File
@@ -20,6 +20,7 @@ int main() {
.compression = uWS::SHARED_COMPRESSOR,
.maxPayloadLength = 16 * 1024,
.idleTimeout = 10,
.maxBackpressure = 1 * 1024 * 1204,
/* Handlers */
.open = [](auto *ws, auto *req) {