Esempio n. 1
0
            IHttpResponse IHttpRequest.GetResponse()
            {
                if (this.method != HttpMethod.Get)
                {
                    //view queries are all GETs
                    throw new ArgumentOutOfRangeException(this.method + " is not currently supported");
                }

                var request  = httpWebRequestWrapper.GetWebRequest();
                var response = new DefaultHttpResponseWrapper(request);

                response.Execute();
                return(response);
            }