Exemplo n.º 1
0
        private static HttpClient CreateHttpClient()
        {
            var httpClient = new HttpClient(HttpMessageHandlerFactory.GetMessageHandler(ReturnHttpClientForMocks))
            {
                MaxResponseContentBufferSize = MaxResponseContentBufferSizeInBytes
            };

            return(httpClient);
        }