1 write to s_httpClient
Microsoft.Deployment.DotNet.Releases (1)
Utils.cs (1)
152
s_httpClient
= new HttpClient();
5 references to s_httpClient
Microsoft.Deployment.DotNet.Releases (5)
Product.cs (1)
203
using var stream = new MemoryStream(await Utils.
s_httpClient
.GetByteArrayAsync(address).ConfigureAwait(false));
ProductCollection.cs (1)
81
using var stream = new MemoryStream(await Utils.
s_httpClient
.GetByteArrayAsync(releasesIndexUrl).ConfigureAwait(false));
Utils.cs (3)
31
HttpResponseMessage httpResponse = await
s_httpClient
.SendAsync(httpRequest).ConfigureAwait(false);
64
HttpResponseMessage httpResponse = await
s_httpClient
.GetAsync(address).ConfigureAwait(false);
153
s_httpClient
.DefaultRequestHeaders.CacheControl = new CacheControlHeaderValue