Example #1
0
        private async Task <HttpResponseMessage> HttpGet(string path, Dictionary <string, string> headers, Dictionary <string, string> paramValues, string encoding, long readTimeoutMs)
        {
            if (headers == null)
            {
                headers = new Dictionary <string, string>(16);
            }

            AssembleHttpParams(paramValues, headers);
            return(await _agent.HttpGet(path, headers, paramValues, encoding, readTimeoutMs));
        }