This commit is contained in:
zqm
2026-02-06 09:42:11 +08:00
parent 2af36569fa
commit df7f9f5bfb

View File

@@ -360,7 +360,7 @@ namespace JoyD.Windows.CS.WebSocket
{
if (_webSocket != null && _webSocket.ReadyState == WebSocketSharp.WebSocketState.Open)
{
Send("ping", new { });
Send("ping", new { timestamp = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff") });
}
};
_heartbeatTimer.Start();