commented out unused websocketserver functions
This commit is contained in:
parent
91aa0e5302
commit
9dcf467595
18
server.js
18
server.js
@ -483,12 +483,12 @@ const wss = new WebSocket({
|
||||
}
|
||||
});
|
||||
|
||||
wss.on("connection", function connection(ws) {
|
||||
// ws.isAlive = true;
|
||||
ws.on("close", function close() {
|
||||
|
||||
})
|
||||
ws.on("message", function incoming(message) {
|
||||
//message = message.toString()
|
||||
})
|
||||
})
|
||||
// wss.on("connection", function connection(ws) {
|
||||
// // ws.isAlive = true;
|
||||
// ws.on("close", function close() {
|
||||
//
|
||||
// })
|
||||
// ws.on("message", function incoming(message) {
|
||||
// //message = message.toString()
|
||||
// })
|
||||
// })
|
||||
|
Loading…
x
Reference in New Issue
Block a user