This commit is contained in:
2023-08-12 12:50:38 +03:00
parent 27728a24a1
commit 9ea81709eb

View File

@@ -37,4 +37,8 @@ const chatSocket = new WebSocket(url);
chatSocket.onmessage = function (e) {
let data = JSON.parse(e.data)
console.log('Data: ', data)
}
}
chatSocket.send(JSON.stringify({
'message': 'check connected',
}))