0.0.115
This commit is contained in:
@@ -39,6 +39,14 @@ chatSocket.onmessage = function (e) {
|
|||||||
console.log('Data: ', data)
|
console.log('Data: ', data)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
chatSocket.onopen = function () {
|
||||||
|
console.log("open")
|
||||||
|
}
|
||||||
|
|
||||||
|
chatSocket.onclose = function () {
|
||||||
|
console.log("close")
|
||||||
|
}
|
||||||
|
|
||||||
chatSocket.send(JSON.stringify({
|
chatSocket.send(JSON.stringify({
|
||||||
'message': 'check connected',
|
'message': 'check connected',
|
||||||
}))
|
}))
|
||||||
Reference in New Issue
Block a user