Beispiel #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);
        }
 public string Build(string method, string path, GetRequestBuilder request)
 {
     return(Build(method, path, DateTime.UtcNow, request));
 }
 public abstract string Build(string method, string path, DateTime utcDateTime, GetRequestBuilder request);
 public GetRequestBuilder(GetRequestBuilder builder = null)
 {
     _params = builder == null ? new Dictionary <string, string>() : new Dictionary <string, string>(builder._params);
 }