XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFEExtension.NetCore.ServerInteractive

[DLL] Server interaction extension, including user identity verification and querying in conjunction with AutoConfig

公开
关注 0 Fork 0 Star 0
UTF-8
namespace XFEExtension.NetCore.ServerInteractive.Models.RequesterModels;

/// <summary>
/// 标准客户端实例请求
/// </summary>
public class StandardClientInstanceRequest
{
    /// <summary>
    /// 构建请求体
    /// </summary>
    public Func<string, string, object[], object> ConstructBody { get; set; } = (_, _, _) => null!;
    /// <summary>
    /// 处理请求
    /// </summary>
    public Func<string, object>? ProcessResponse { get; set; } = response => response;
}