Add UpgradeSync example

This commit is contained in:
Alex Hultman
2020-06-02 13:16:10 +02:00
parent 625efbc499
commit 9cb2fb404f
5 changed files with 81 additions and 4 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ int main() {
.compression = uWS::SHARED_COMPRESSOR,
.maxPayloadLength = 16 * 1024,
.idleTimeout = 10,
.maxBackpressure = 1 * 1024 * 1204,
.maxBackpressure = 1 * 1024 * 1024,
/* Handlers */
.open = [](auto *ws) {