ipc: no compression for less ui lag

This commit is contained in:
jean-emmanuel 2017-06-13 15:39:01 +02:00
parent f39e5f58ae
commit d704990b14

View file

@ -7,13 +7,14 @@ var Ipc = class Ipc {
constructor() {
this.socket = io.connect('/', {parser:customParser})
this.socket.compress(false)
}
send() {
send(event, data) {
this.socket.emit(...arguments)
this.socket.emit(event, data)
}