Esempio n. 1
0
        public virtual string Build(string path, GetRequestBuilder request = null)
        {
            string url = $"https://{_host}{path}";

            if (request != null)
            {
                url = $"{url}?{request.Build()}";
            }
            return(url);
        }
Esempio n. 2
0
 public string Build(string method, string path, GetRequestBuilder request)
 {
     return(Build(method, path, DateTime.UtcNow, request));
 }
Esempio n. 3
0
 public abstract string Build(string method, string path, DateTime utcDateTime, GetRequestBuilder request);
Esempio n. 4
0
 public GetRequestBuilder(GetRequestBuilder builder = null)
 {
     _params = builder == null ? new Dictionary <string, string>() : new Dictionary <string, string>(builder._params);
 }