mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-03 00:00:49 +08:00
web socket添加token验证能力(使用token+创建时设置验证回调);flowEnv添加WebSocket处理消息能力,下一步将开发远程登录登录工具。
This commit is contained in:
@@ -129,7 +129,15 @@ namespace Serein.Library.Network.WebSocketCommunication.Handle
|
||||
foreach ((var model, var method) in methods)
|
||||
{
|
||||
Console.WriteLine($"theme value : {model.ThemeValue}");
|
||||
handlemodule.AddHandleConfigs(model, socketControlBase, method, onExceptionTracking);
|
||||
try
|
||||
{
|
||||
handlemodule.AddHandleConfigs(model, socketControlBase, method, onExceptionTracking);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
Console.WriteLine($"error in add method: {method.Name}{Environment.NewLine}{ex}");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -147,7 +155,6 @@ namespace Serein.Library.Network.WebSocketCommunication.Handle
|
||||
{
|
||||
foreach (var module in MyHandleModuleDict.Values)
|
||||
{
|
||||
|
||||
module.HandleSocketMsg(RecoverAsync, json);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user