mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-03 00:00:49 +08:00
重新设计了Libray.Json Api以及 WebSocket 的交互处理方式
This commit is contained in:
29
Serein.Proto.WebSocket/Handle/WebSocketModuleConfig.cs
Normal file
29
Serein.Proto.WebSocket/Handle/WebSocketModuleConfig.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
namespace Serein.Proto.WebSocket.Handle
|
||||
{
|
||||
/// <summary>
|
||||
/// 远程环境配置
|
||||
/// </summary>
|
||||
public class WebSocketModuleConfig
|
||||
{
|
||||
/// <summary>
|
||||
/// 有关消息ID的 Json Key
|
||||
/// </summary>
|
||||
public string MsgIdJsonKey { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 有关消息主题的 Json Key
|
||||
/// </summary>
|
||||
public string ThemeJsonKey { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 有关数据的 Json Key
|
||||
/// </summary>
|
||||
public string DataJsonKey { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 使用怎么样的数据
|
||||
/// </summary>
|
||||
public bool IsResponseUseReturn { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user