namespace Serein.Proto.WebSocket.Handle
{
///
/// 远程环境配置
///
public class WebSocketModuleConfig
{
///
/// 有关消息ID的 Json Key
///
public string MsgIdJsonKey { get; set; } = string.Empty;
///
/// 有关消息主题的 Json Key
///
public string ThemeJsonKey { get; set; } = string.Empty;
///
/// 有关数据的 Json Key
///
public string DataJsonKey { get; set; } = string.Empty;
///
/// 使用怎么样的数据
///
public bool IsResponseUseReturn { get; set; }
}
public class ModuleConfig()
{
public string MsgId { get; set; } = string.Empty;
public string Theme { get; set; } = string.Empty;
public bool IsResponseUseReturn { get; set; } = false;
}
}