The websocket handle the ping / pong

This commit is contained in:
2025-07-29 17:14:35 +08:00
parent 4246fea03f
commit 05c6410550
3 changed files with 26 additions and 3 deletions

View File

@@ -2,6 +2,8 @@ namespace DysonNetwork.Shared.Data;
public abstract class WebSocketPacketType
{
public const string Ping = "ping";
public const string Pong = "pong";
public const string Error = "error";
public const string MessageNew = "messages.new";
public const string MessageUpdate = "messages.update";