WebSocketResource exposes socket.close()
Allows for simplification of the keepalive construct.
This commit is contained in:
parent
98edd3939b
commit
8170a7baae
5 changed files with 16 additions and 10 deletions
|
@ -73,7 +73,7 @@
|
|||
console.log('Unknown websocket message', request.path);
|
||||
}
|
||||
});
|
||||
new KeepAlive(wsr, socket);
|
||||
new KeepAlive(wsr);
|
||||
});
|
||||
}).then(function() {
|
||||
return generateKeys(100, progressCallback);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue