聊天:增加私聊部分逻辑
测试:增加测试脚本,减少socket断开的打印
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user