public void HttpInvoke(SupportedHttpMethods httpMethod, string url)
 {
     using (var httpClass = new HttpClass(httpMethod, url))
     {
         httpClass.Invoke();
     }
 }
        public string GetHttpContent(string url)
        {
            string content;

            using (var httpClass = new HttpClass(SupportedHttpMethods.GET, url))
            {
                httpClass.Invoke();
                content = httpClass.GetResponseContent();
            }
            return(content);
        }
        public HttpResponseMessage GetHttpResponseMessage(SupportedHttpMethods httpMethod, string url)
        {
            HttpResponseMessage _response;

            using (var httpClass = new HttpClass(httpMethod, url))
            {
                httpClass.Invoke();
                _response = httpClass.GetHttpResponseMessage();
            }

            return(_response);
        }