public static T Request <T>(this HttpWebRequestUtility requestUtility) { var result = requestUtility.Request(); var data = Newtonsoft.Json.JsonConvert.DeserializeObject <T>(result); return(data); }
internal virtual string Request(HttpWebRequestOption option, int requestType) { var paramters = CreateHttpRequest(requestType); HttpWebRequestUtility httpWebRequestUtility = new HttpWebRequestUtility(option, paramters); var result = httpWebRequestUtility.Request(); return(result); }