web socket添加token验证能力(使用token+创建时设置验证回调);flowEnv添加WebSocket处理消息能力,下一步将开发远程登录登录工具。

This commit is contained in:
fengjiayi
2024-10-15 21:56:09 +08:00
parent dbbde4f03e
commit 1d97ea5da1
64 changed files with 811 additions and 395 deletions

View File

@@ -34,14 +34,6 @@ namespace SereinFlowRemoteManagement
public SereinFlowRemoteControl(IFlowEnvironment environment)
{
this.environment = environment;
//if (environment is FlowEnvironment env)
//{
// this.environment = env;
//}
//else
//{
// throw new Exception();
//}
}
[NodeAction(NodeType.Init)]
@@ -153,7 +145,7 @@ namespace SereinFlowRemoteManagement
throw new InvalidOperationException("Guid错误");
}
await environment.StartFlowInSelectNodeAsync(nodeGuid);
await environment.StartAsyncInSelectNode(nodeGuid);
await Send(new
{
@@ -172,7 +164,7 @@ namespace SereinFlowRemoteManagement
return environment.GetProjectInfo();
}
#endregion
}
}