Example #1
0
 public virtual OpenApiResult <T> HttpPostJsonForResult <T>(string url, object instance, NameValueCollection data)
 {
     url = new UriPathBuilder(url).AppendMany(data).ToString();
     return(base.HttpPostJsonInner <OpenApiResult <T> >(url, instance));
 }
Example #2
0
 public virtual OpenApiResult <T> HttpGetForResult <T>(string url, object values)
 {
     url = new UriPathBuilder(url).AppendMany(values).ToString();
     return(base.HttpGetInner <OpenApiResult <T> >(url));
 }
Example #3
0
        public virtual OpenApiResult <T> HttpPostForResult <T>(string url, object values)
        {
            var data = UriPathBuilder.ToNameValueCollection(values);

            return(base.HttpPostInner <OpenApiResult <T> >(url, data));
        }
Example #4
0
 public virtual OpenApiResult <T> HttpGetForResult <T>(string url, string key, string value)
 {
     url = new UriPathBuilder(url).Append(key, value).ToString();
     return(base.HttpGetInner <OpenApiResult <T> >(url));
 }
Example #5
0
 public virtual OpenApiResult <T> HttpGetForResult <T>(string url, NameValueCollection data)
 {
     url = new UriPathBuilder(url).AppendMany(data).ToString();
     return(base.HttpGetInner <OpenApiResult <T> >(url));
 }
        public string HttpPost(string url, object values)
        {
            var data = UriPathBuilder.ToNameValueCollection(values);

            return(HttpPost(url, data));
        }
 public T HttpUploadFile <T>(string url, string filename, object values)
 {
     url = new UriPathBuilder(url).AppendMany(values).ToString();
     return(HttpUploadFileInner <T>(url, filename));
 }
 public T HttpPost <T>(string url, object values)
 {
     return(HttpPostInner <T>(url, UriPathBuilder.ToNameValueCollection(values)));
 }
 public T HttpPostJson <T>(string url, object instance, object values)
 {
     url = new UriPathBuilder(url).AppendMany(values).ToString();
     return(HttpPostJsonInner <T>(url, instance));
 }
 public T HttpGet <T>(string url, NameValueCollection data)
 {
     url = new UriPathBuilder(url).AppendMany(data).ToString();
     return(HttpGetInner <T>(url));
 }
 public T HttpGet <T>(string url, object values)
 {
     url = new UriPathBuilder(url).AppendMany(values).ToString();
     return(HttpGetInner <T>(url));
 }
 public T HttpGet <T>(string url, string key, object value)
 {
     url = new UriPathBuilder(url).Append(key, value).ToString();
     return(HttpGetInner <T>(url));
 }
 public T HttpUploadFile <T>(string url, string filename, NameValueCollection data)
 {
     url = new UriPathBuilder(url).AppendMany(data).ToString();
     return(HttpUploadFileInner <T>(url, filename));
 }
Example #14
0
 public string HttpGet(string url, string key, string value)
 {
     url = new UriPathBuilder(url).Append(key, value).ToString();
     return(HttpGet(url));
 }
Example #15
0
 public virtual OpenApiResult <T> UploadFileForResult <T>(string url, string filename, object values)
 {
     url = new UriPathBuilder(url).AppendMany(values).ToString();
     return(base.HttpUploadFileInner <OpenApiResult <T> >(url, filename));
 }
 public T HttpPostJson <T>(string url, object instance, NameValueCollection data)
 {
     url = new UriPathBuilder(url).AppendMany(data).ToString();
     return(HttpPostJsonInner <T>(url, instance));
 }
Example #17
0
 public virtual OpenApiResult <T> UploadFileForResult <T>(string url, string filename, NameValueCollection data)
 {
     url = new UriPathBuilder(url).AppendMany(data).ToString();
     return(base.HttpUploadFileInner <OpenApiResult <T> >(url, filename));
 }
Example #18
0
 public string HttpGet(string url, object values)
 {
     url = new UriPathBuilder(url).AppendMany(values).ToString();
     return(HttpGet(url));
 }