using System; using System.Collections.Generic; using Top.Api; namespace QimenCloud.Api { public interface IQimenCloudRequest where T : QimenCloudResponse { /// /// 获取TOP的API名称。 /// string GetApiName(); /// /// 获取被调用的目标AppKey /// string GetTargetAppKey(); /// /// 获取所有的Key-Value形式的文本请求参数字典。 /// IDictionary GetParameters(); /// /// 获取自定义HTTP请求头参数。 /// IDictionary GetHeaderParameters(); /// /// 客户端参数检查,减少服务端无效调用。 /// void Validate(); } }