namespace XFEExtension.NetCore.ServerInteractive.Interfaces.Requester; /// /// 标准请求服务 /// public interface IStandardRequestService : IRequestServiceBase { /// /// 设备信息 /// string DeviceInfo { get; internal set; } /// /// 当前会话ID /// string Session { get; set; } /// /// 请求路由(不带斜杠开头),如"user/relogin" /// string Route { get; set; } /// /// 返回结果字符串(转义后) /// string UnescapedResponse { get; set; } /// /// 返回结果字符串 /// string Response { get; set; } /// /// 待请求的方法的参数列表 /// object[] Parameters { get; internal set; } /// /// 请求方法字典,Key为请求路径或名称(别名),Value为对应的构造请求体方法 /// Dictionary> RequestPoints { get; } /// /// 响应方法字典,Key为请求路径或名称(别名),Value为对应的解析响应方法 /// Dictionary> ResponsePoints { get; } /// /// 请求路由映射,Key为请求路径或名称,Value为实际路由路径(用于URL构建) /// Dictionary RequestRouteMap { get; } }