Пример #1
0
        protected async Task <TResponse> ExecuteGetAsync <TResponse>(string pathAndQuery, int?timeoutMiliseconds = null)
        {
            var schemeAndHost = GetSchemeAndHostFromConfigs();

            var url = ApiUtils.BuildUrl(schemeAndHost: schemeAndHost, urlPath: pathAndQuery);

            var result = await ApiUtils.ExecuteGetAsync <TResponse>(url : url, timeout : timeoutMiliseconds);

            return(result);
        }