Exemplo n.º 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));
 }
Exemplo n.º 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));
 }
Exemplo n.º 3
0
        public virtual OpenApiResult <T> HttpPostForResult <T>(string url, object values)
        {
            var data = UriPathBuilder.ToNameValueCollection(values);

            return(base.HttpPostInner <OpenApiResult <T> >(url, data));
        }
Exemplo n.º 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));
 }
Exemplo n.º 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));
 }
Exemplo n.º 6
0
        public string HttpPost(string url, object values)
        {
            var data = UriPathBuilder.ToNameValueCollection(values);

            return(HttpPost(url, data));
        }
Exemplo n.º 7
0
 public T HttpUploadFile <T>(string url, string filename, object values)
 {
     url = new UriPathBuilder(url).AppendMany(values).ToString();
     return(HttpUploadFileInner <T>(url, filename));
 }
Exemplo n.º 8
0
 public T HttpPost <T>(string url, object values)
 {
     return(HttpPostInner <T>(url, UriPathBuilder.ToNameValueCollection(values)));
 }
Exemplo n.º 9
0
 public T HttpPostJson <T>(string url, object instance, object values)
 {
     url = new UriPathBuilder(url).AppendMany(values).ToString();
     return(HttpPostJsonInner <T>(url, instance));
 }
Exemplo n.º 10
0
 public T HttpGet <T>(string url, NameValueCollection data)
 {
     url = new UriPathBuilder(url).AppendMany(data).ToString();
     return(HttpGetInner <T>(url));
 }
Exemplo n.º 11
0
 public T HttpGet <T>(string url, object values)
 {
     url = new UriPathBuilder(url).AppendMany(values).ToString();
     return(HttpGetInner <T>(url));
 }
Exemplo n.º 12
0
 public T HttpGet <T>(string url, string key, object value)
 {
     url = new UriPathBuilder(url).Append(key, value).ToString();
     return(HttpGetInner <T>(url));
 }
Exemplo n.º 13
0
 public T HttpUploadFile <T>(string url, string filename, NameValueCollection data)
 {
     url = new UriPathBuilder(url).AppendMany(data).ToString();
     return(HttpUploadFileInner <T>(url, filename));
 }
Exemplo n.º 14
0
 public string HttpGet(string url, string key, string value)
 {
     url = new UriPathBuilder(url).Append(key, value).ToString();
     return(HttpGet(url));
 }
Exemplo n.º 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));
 }
Exemplo n.º 16
0
 public T HttpPostJson <T>(string url, object instance, NameValueCollection data)
 {
     url = new UriPathBuilder(url).AppendMany(data).ToString();
     return(HttpPostJsonInner <T>(url, instance));
 }
Exemplo n.º 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));
 }
Exemplo n.º 18
0
 public string HttpGet(string url, object values)
 {
     url = new UriPathBuilder(url).AppendMany(values).ToString();
     return(HttpGet(url));
 }