Add UpgradeAsync example, update examples

This commit is contained in:
Alex Hultman 2020-06-05 17:09:19 +02:00
parent d1a2556fba
commit 369b4a551f
6 changed files with 93 additions and 13 deletions

View file

@ -9,7 +9,7 @@ const app = uWS./*SSL*/App({
passphrase: '1234'
}).ws('/*', {
/* Options */
compression: 0,
compression: uWS.SHARED_COMPRESSOR,
maxPayloadLength: 16 * 1024 * 1024,
idleTimeout: 10,
/* Handlers */