This commit is contained in:
yumoqing 2024-10-09 16:39:01 +08:00
parent ca15d0c951
commit bc1b52d5de

View File

@ -112,6 +112,7 @@ bricks.Signaling = class {
return h return h
} }
login(){ login(){
console.log('login send')
var d = { var d = {
type:'login', type:'login',
} }
@ -127,6 +128,7 @@ bricks.Signaling = class {
send_data(d){ send_data(d){
d.msgfrom = this.info; d.msgfrom = this.info;
var s = JSON.stringify(d); var s = JSON.stringify(d);
console.log('send_data()', s);
this.socket.send(s); this.socket.send(s);
} }
socket_send(s){ socket_send(s){