very early msgpack handler

This commit is contained in:
Omer
2019-10-11 02:25:25 +03:00
parent 0b0798ff51
commit 2eb4cbc950
5 changed files with 122 additions and 102 deletions

View File

@@ -23,8 +23,9 @@ public class Server {
SettingsManager.saveSettings();
});
ws.onMessage(ctx -> {
handler.onMessage(ctx);
// handler.onMessage(ctx);
});
ws.onBinaryMessage(ctx->handler.onMessage(ctx));
});
app.start(port);
}