0.0.117
This commit is contained in:
@@ -43,11 +43,19 @@ chatSocket.onmessage = function (e) {
|
||||
// console.log("open")
|
||||
// }
|
||||
|
||||
chatSocket.onopen = function(){
|
||||
console.log("open")
|
||||
}
|
||||
|
||||
chatSocket.onclose = function () {
|
||||
console.log("close")
|
||||
}
|
||||
|
||||
chatSocket.onopen = function(){
|
||||
console.log("open")
|
||||
chatSocket.send('A');
|
||||
}
|
||||
function sendMessageSocket (data) {
|
||||
//
|
||||
|
||||
chatSocket.send(JSON.stringify(data))
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user