/// <summary> /// 创建接口服务请求器 /// </summary> /// <param name="arg">请求参数对象</param> public HttpHelper(HttpArguments arg) { _args = arg; }
/// <summary> /// 创建接口服务请求器 /// </summary> /// <param name="arg">请求参数对象</param> /// <returns></returns> public static HttpHelper CreateInstance(HttpArguments arg) { return(new HttpHelper(arg)); }
/// <summary> /// 创建接口服务请求器 /// </summary> /// <param name="uri">服务接口 uri</param> public HttpHelper(string uri) { _args = new HttpArguments(uri); HeaderData = new Dictionary <string, string>(); }