This commit is contained in:
2023-08-12 12:55:38 +03:00
parent 9ea81709eb
commit 03882addc1

View File

@@ -39,6 +39,14 @@ chatSocket.onmessage = function (e) {
console.log('Data: ', data)
}
chatSocket.onopen = function () {
console.log("open")
}
chatSocket.onclose = function () {
console.log("close")
}
chatSocket.send(JSON.stringify({
'message': 'check connected',
}))