Exemplo n.º 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;
 }
Exemplo n.º 3
0
 public ListResult(HttpWebRequest request, CouchResponse response)
 {
     this.request = request;
     this.response = response;
 }
Exemplo n.º 4
0
 public CouchException(HttpWebRequest request, CouchResponse response, string mesg)
     : base(mesg)
 {
 }
Exemplo n.º 5
0
 public CouchException(HttpWebRequest request, CouchResponse response, string mesg)
     : base(BuildExceptionMessage(mesg, request))
 {
 }