聊天:增加私聊部分逻辑

测试:增加测试脚本,减少socket断开的打印
This commit is contained in:
liangtongchuan
2021-03-04 18:27:39 +08:00
parent d4561c2e3d
commit 0bb4caf291
10 changed files with 232 additions and 7 deletions

View File

@@ -139,7 +139,7 @@ class PinusWSClient {
this.send(this._package.encode(Package.TYPE_HANDSHAKE, Protocol.strencode(JSON.stringify(this.handshakeBuffer))));
}
onClose(e) {
console.error('[Pinus] connect close:', e);
console.error('[Pinus] connect close');
// this.emit(Pinus.EVENT_CLOSE,e);
}
onIOError(e) {