mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-04-11 18:36:34 +08:00
重新设计了Libray.Json Api以及 WebSocket 的交互处理方式
This commit is contained in:
30
Serein.Proto.WebSocket/SendType.cs
Normal file
30
Serein.Proto.WebSocket/SendType.cs
Normal 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
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user