@@ -207,6 +207,8 @@ export default class Socket extends EventEmitter {
if (!r) return;
const n = r.id;
+ if(n == "heartbeat") console.log("Socket心跳请求时间(ms):", Date.now() - parseInt(r.data))
+
if (!!n)
switch (
(n !== "heartbeat" && logger.info(`receive ws frame: ${t.data}`), n)