using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace cuidian.OpenApi.Http { public class HttpClient { private WebUtils _webUtils = new WebUtils(); public Response Get(string url, IDictionary parameters) { return new Response(this.WebUtils.Get(url, parameters)); } public Response Post(string url, IDictionary parameters, string data) { return new Response(this.WebUtils.Post(url, parameters, data)); } protected WebUtils WebUtils { get { return this._webUtils; } } } }