XFEExtension.NetCore.ServerInteractive
[DLL] Server interaction extension, including user identity verification and querying in conjunction with AutoConfig
关注
0
Fork
0
Star
0
返回提交历史
Modified
XFEExtension.NetCore.ServerInteractive/Interfaces/CoreService/IServerCoreRegisterService.cs
+1
-1
Modified
XFEExtension.NetCore.ServerInteractive/Interfaces/CoreService/IServerCoreStandardRegisterAsyncService.cs
+1
-1
Modified
XFEExtension.NetCore.ServerInteractive/Interfaces/CoreService/IServerCoreStandardRegisterService.cs
+1
-1
Modified
XFEExtension.NetCore.ServerInteractive/Interfaces/CoreService/IServerCoreVerifyAsyncService.cs
+1
-1
Modified
XFEExtension.NetCore.ServerInteractive/Interfaces/CoreService/IServerCoreVerifyService.cs
+1
-1
Renamed
XFEExtension.NetCore.ServerInteractive/Interfaces/CoreService/IXFEServerCoreServiceBase.cs
+1
-1
Modified
XFEExtension.NetCore.ServerInteractive/Interfaces/Requester/IRequestService.cs
+10
-1
Added
XFEExtension.NetCore.ServerInteractive/Interfaces/Requester/IRequestServiceBase.cs
+18
-0
Added
XFEExtension.NetCore.ServerInteractive/Interfaces/Requester/IXFERequestService.cs
+22
-0
Modified
XFEExtension.NetCore.ServerInteractive/Interfaces/ServerService/IAsyncServerService.cs
+1
-1
Modified
XFEExtension.NetCore.ServerInteractive/Interfaces/ServerService/ICoreServerProcessService.cs
+1
-1
Modified
XFEExtension.NetCore.ServerInteractive/Interfaces/ServerService/ICoreServerService.cs
+1
-1
Modified
XFEExtension.NetCore.ServerInteractive/Interfaces/ServerService/IServerInitializerService.cs
+1
-1
Modified
XFEExtension.NetCore.ServerInteractive/Interfaces/ServerService/IServerService.cs
+1
-1
Renamed
XFEExtension.NetCore.ServerInteractive/Interfaces/ServerService/IXFEServerServiceBase.cs
+1
-1
Added
XFEExtension.NetCore.ServerInteractive/Utilities/Helpers/BuilderHelper.cs
+29
-0
Modified
XFEExtension.NetCore.ServerInteractive/Utilities/Requester/XFEClientRequester.cs
+10
-375
Added
XFEExtension.NetCore.ServerInteractive/Utilities/Requester/XFEClientRequesterBuilder.cs
+37
-0
Modified
XFEExtension.NetCore.ServerInteractive/Utilities/Server/XFEServerCore.cs
+0
-1
Modified
XFEExtension.NetCore.ServerInteractive/Utilities/Server/XFEServerCoreBuilder.cs
+8
-22
XFEstudio/XFEExtension.NetCore.ServerInteractive
添加部分请求器功能
d287d84
代码差异
20 个文件
+146
-411
@@ -5,7 +5,7 @@ namespace XFEExtension.NetCore.ServerInteractive.Interfaces.CoreService;
5
5
/// <summary>
6
6
/// 服务器核心服务
7
7
/// </summary>
8
public interface IServerCoreRegisterService : IXFEServerCoreService
8
public interface IServerCoreRegisterService : IXFEServerCoreServiceBase
9
9
{
10
10
/// <summary>
11
11
/// 服务器启动事件
@@ -8,7 +8,7 @@ namespace XFEExtension.NetCore.ServerInteractive.Interfaces.CoreService;
8
8
/// <summary>
9
9
/// 服务器标准核心异步服务
10
10
/// </summary>
11
public interface IServerCoreStandardRegisterAsyncService : IXFEServerCoreService
11
public interface IServerCoreStandardRegisterAsyncService : IXFEServerCoreServiceBase
12
12
{
13
13
/// <summary>
14
14
/// 服务器标准请求接收事件
@@ -8,7 +8,7 @@ namespace XFEExtension.NetCore.ServerInteractive.Interfaces.CoreService;
8
8
/// <summary>
9
9
/// 服务器标准核心服务
10
10
/// </summary>
11
public interface IServerCoreStandardRegisterService : IXFEServerCoreService
11
public interface IServerCoreStandardRegisterService : IXFEServerCoreServiceBase
12
12
{
13
13
/// <summary>
14
14
/// 服务器标准请求接收事件
@@ -6,7 +6,7 @@ namespace XFEExtension.NetCore.ServerInteractive.Interfaces.CoreService;
6
6
/// <summary>
7
7
/// 服务器核心初始化服务
8
8
/// </summary>
9
public interface IServerCoreVerifyAsyncService : IXFEServerCoreService
9
public interface IServerCoreVerifyAsyncService : IXFEServerCoreServiceBase
10
10
{
11
11
/// <summary>
12
12
/// 校验请求
@@ -6,7 +6,7 @@ namespace XFEExtension.NetCore.ServerInteractive.Interfaces.CoreService;
6
6
/// <summary>
7
7
/// 服务器核心初始化服务
8
8
/// </summary>
9
public interface IServerCoreVerifyService : IXFEServerCoreService
9
public interface IServerCoreVerifyService : IXFEServerCoreServiceBase
10
10
{
11
11
/// <summary>
12
12
/// 校验请求
@@ -5,7 +5,7 @@ namespace XFEExtension.NetCore.ServerInteractive.Interfaces.CoreService;
5
5
/// <summary>
6
6
/// XFE服务器核心服务
7
7
/// </summary>
8
public interface IXFEServerCoreService
8
public interface IXFEServerCoreServiceBase
9
9
{
10
10
/// <summary>
11
11
/// 服务器核心
@@ -1,5 +1,14 @@
1
1
namespace XFEExtension.NetCore.ServerInteractive.Interfaces.Requester;
2
2
3
public interface IRequestService
3
/// <summary>
4
/// 请求服务
5
/// </summary>
6
public interface IRequestService : IRequestServiceBase
4
7
{
8
/// <summary>
9
/// 请求
10
/// </summary>
11
/// <param name="parameters"></param>
12
/// <returns></returns>
13
Task<T> Request<T>(params object[] parameters);
5
14
}
@@ -0,0 +1,18 @@
1
using XFEExtension.NetCore.ServerInteractive.Utilities.Requester;
2
3
namespace XFEExtension.NetCore.ServerInteractive.Interfaces.Requester;
4
5
/// <summary>
6
/// 请求器基础
7
/// </summary>
8
public interface IRequestServiceBase
9
{
10
/// <summary>
11
/// 获取请求地址
12
/// </summary>
13
Func<string> GetRequestAddress { get; set; }
14
/// <summary>
15
/// XFE客户端请求器
16
/// </summary>
17
XFEClientRequester XFEClientRequester { get; set; }
18
}
@@ -0,0 +1,22 @@
1
namespace XFEExtension.NetCore.ServerInteractive.Interfaces.Requester;
2
3
/// <summary>
4
/// XFE请求服务
5
/// </summary>
6
public interface IXFERequestService : IRequestServiceBase
7
{
8
/// <summary>
9
/// 获取Session方法
10
/// </summary>
11
Func<string> GetSession { get; set; }
12
/// <summary>
13
/// 获取电脑信息方法
14
/// </summary>
15
Func<string> GetComputerInfo { get; set; }
16
/// <summary>
17
/// 提交请求体
18
/// </summary>
19
/// <param name="parameters"></param>
20
/// <returns></returns>
21
object PostRequestBody(params object[] parameters);
22
}
@@ -3,7 +3,7 @@
3
3
/// <summary>
4
4
/// 异步服务器服务接口
5
5
/// </summary>
6
public interface IAsyncServerService : IXFEServerService
6
public interface IAsyncServerService : IXFEServerServiceBase
7
7
{
8
8
/// <summary>
9
9
/// 启动服务(异步)
@@ -3,7 +3,7 @@
3
3
/// <summary>
4
4
/// 核心服务器处理服务
5
5
/// </summary>
6
public interface ICoreServerProcessService : IXFEServerService
6
public interface ICoreServerProcessService : IXFEServerServiceBase
7
7
{
8
8
/// <summary>
9
9
/// 核心服务器列表
@@ -3,7 +3,7 @@
3
3
/// <summary>
4
4
/// 核心服务器服务
5
5
/// </summary>
6
public interface ICoreServerService : IXFEServerService
6
public interface ICoreServerService : IXFEServerServiceBase
7
7
{
8
8
/// <summary>
9
9
/// 绑定的IP地址(服务初始化执行完成后才会刷新)