summary refs log tree commit diff
path: root/src/Server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/Server.ts')
-rw-r--r--src/Server.ts10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/Server.ts b/src/Server.ts

index df5ec905..ea1e39b0 100644 --- a/src/Server.ts +++ b/src/Server.ts
@@ -9,7 +9,15 @@ import Config from "./util/Config"; export class Server { public ws: WebSocketServer; constructor() { - this.ws = new WebSocketServer({ port: 8080, maxPayload: 4096 }); + this.ws = new WebSocketServer({ + port: 8080, + maxPayload: 4096, + // perMessageDeflate: { + // zlibDeflateOptions: { + // chunkSize: 65536, + // }, + // }, + }); this.ws.on("connection", Connection); }