重新设计了Libray.Json Api以及 WebSocket 的交互处理方式

This commit is contained in:
fengjiayi
2025-08-02 10:48:31 +08:00
parent 1bccccc835
commit 6fc57458a7
29 changed files with 883 additions and 348 deletions

View File

@@ -0,0 +1,30 @@
namespace Serein.Proto.WebSocket
{
public partial class SereinWebSocketService
{
public enum SendType
{
/// <summary>
/// 不发送数据
/// </summary>
None,
/// <summary>
/// 发送字符串
/// </summary>
String,
/// <summary>
/// 发送对象
/// </summary>
Object,
/// <summary>
/// 异步发送字符串
/// </summary>
StringAsync,
/// <summary>
/// 异步发送对象
/// </summary>
ObjectAsync
}
}
}