Beispiel #1
0
        public static CouchResponse GetJObject(this HttpWebResponse response)
        {
            var resp = new CouchResponse(JObject.Parse(response.GetResponseString()));

            resp.StatusCode = (int)response.StatusCode;
            return(resp);
        }
 public static CouchResponse GetJObject(this HttpWebResponse response)
 {
     var resp = new CouchResponse(JObject.Parse(response.GetResponseString()));
     resp.StatusCode = (int)response.StatusCode;
     return resp;
 }
Beispiel #3
0
 public ListResult(HttpWebRequest request, CouchResponse response)
 {
     this.request = request;
     this.response = response;
 }
Beispiel #4
0
 public CouchException(HttpWebRequest request, CouchResponse response, string mesg)
     : base(mesg)
 {
 }
Beispiel #5
0
 public CouchException(HttpWebRequest request, CouchResponse response, string mesg)
     : base(BuildExceptionMessage(mesg, request))
 {
 }