377 references to HttpClient
AnalyzeCiFailure (1)
tools\Aspire.TestTools\GitHubApiClient.cs (1)
86var http = new HttpClient(handler) { Timeout = Timeout.InfiniteTimeSpan };
AnalyzeCiFailure.TestHost (1)
CommandHost.cs (1)
14using var http = new HttpClient(new GitHubFixtureHandler(Environment.CurrentDirectory));
AnalyzeCiFailure.Tests (43)
AnalyzeCiFailureWorkflowTests.cs (1)
5263var http = new HttpClient(new AnalyzeCiFailure.TestServices.GitHubFixtureHandler(_workspace.Path, environment));
GitHubApiClientTests.cs (42)
30using var http = new HttpClient(handler); 60using var http = new HttpClient(handler); 83using var http = new HttpClient(handler); 93using var http = new HttpClient(handler); 107using var http = new HttpClient(handler); 131using var http = new HttpClient(handler); 150using var http = new HttpClient(handler); 171using var http = new HttpClient(handler); 191using var http = new HttpClient(handler); 214using var http = new HttpClient(handler); 239using var http = new HttpClient(handler); 256using var http = new HttpClient(handler); 280using var http = new HttpClient(handler); 298using var http = new HttpClient(handler); 315using var http = new HttpClient(handler); 335using var http = new HttpClient(handler); 353using var http = new HttpClient(handler); 380using var http = new HttpClient(handler); 401using var http = new HttpClient(handler); 419using var http = new HttpClient(handler); 442using var http = new HttpClient(handler); 462using var http = new HttpClient(handler); 499using var http = new HttpClient(handler); 522using var http = new HttpClient(handler); 548using var http = new HttpClient(handler); 566using var http = new HttpClient(handler); 595using var http = new HttpClient(handler); 615using var http = new HttpClient(handler); 636using var http = new HttpClient(handler); 655using var http = new HttpClient(handler); 666using var http = new HttpClient(handler); 684using var http = new HttpClient(handler); 702using var http = new HttpClient(handler); 716using var http = new HttpClient(handler); 734using var http = new HttpClient(handler); 756using var http = new HttpClient(handler); 786using var http = new HttpClient(handler); 810using var http = new HttpClient(handler); 832using var http = new HttpClient(handler); 844using var http = new HttpClient(handler); 854using var http = new HttpClient(handler); 867using var http = new HttpClient(handler);
aspire (2)
Utils\EnvironmentChecker\DcpConnectionChecker.cs (2)
111using var client = new HttpClient(handler) 402using var client = new HttpClient(handler)
Aspire.Azure.AI.Extensions.OpenAI.Tests (7)
AspireAzureOpenAIExtensionsTests.cs (3)
106using var httpClient = new HttpClient(handler); 157using var httpClient = new HttpClient(handler); 212using var httpClient = new HttpClient(handler);
AspireAzureProjectOpenAIExtensionsTests.cs (3)
114using var httpClient = new HttpClient(handler); 321using var httpClient = new HttpClient(handler); 444using var httpClient = new HttpClient(handler);
AspireConfigurableOpenAIExtensionsTests.cs (1)
165using var httpClient = new HttpClient(handler);
Aspire.Azure.AI.Projects.Tests (2)
AspireAzureAIProjectsExtensionsTests.cs (2)
120using var httpClient = new HttpClient(handler); 259using var httpClient = new HttpClient(handler);
Aspire.Cli.Tests (36)
Agents\SigstoreNpmProvenanceCheckerTests.cs (1)
1195using var httpClient = new HttpClient(handler);
Mcp\ApiDocs\ApiDocsCacheTests.cs (2)
34using var httpClient = new HttpClient(handler); 60using var httpClient = new HttpClient(handler);
Mcp\ApiDocs\ApiDocsFetcherTests.cs (3)
38using var httpClient = new HttpClient(handler); 64using var httpClient = new HttpClient(handler); 91using var httpClient = new HttpClient(handler);
Mcp\Docs\DocsCacheTests.cs (1)
32using var httpClient = new HttpClient(handler);
Mcp\Docs\DocsFetcherTests.cs (17)
40using var httpClient = new HttpClient(handler); 60using var httpClient = new HttpClient(handler); 81using var httpClient = new HttpClient(handler); 108using var httpClient = new HttpClient(handler); 130using var httpClient = new HttpClient(handler); 165using var httpClient = new HttpClient(handler); 183using var httpClient = new HttpClient(handler); 196using var httpClient = new HttpClient(handler); 209using var httpClient = new HttpClient(handler); 230using var httpClient = new HttpClient(handler); 250using var httpClient = new HttpClient(handler); 269using var httpClient = new HttpClient(handler); 292using var httpClient = new HttpClient(handler); 313using var httpClient = new HttpClient(handler); 333using var httpClient = new HttpClient(handler); 366using var httpClient = new HttpClient(handler); 384using var httpClient = new HttpClient(handler);
Telemetry\AgentTelemetryPersistenceTests.cs (7)
85using var client = new HttpClient(handler); 164using var client = new HttpClient(handler); 407using var client = new HttpClient(handler); 448using var client = new HttpClient(handler); 523using var httpClient = new HttpClient(handler); 614using var client = new HttpClient(handler); 654using var client = new HttpClient(handler);
Telemetry\ReportedLogExportTests.cs (3)
44using var client = new HttpClient(handler); 134using var client = new HttpClient(handler); 231using var client = new HttpClient(handler);
Telemetry\TelemetryShutdownTests.cs (1)
207using var client = new HttpClient(handler);
TestServices\DcpConnectionTestProcess.cs (1)
306using var client = new HttpClient(handler);
Aspire.Dashboard.Tests (19)
Integration\FrontendBrowserTokenAuthTests.cs (5)
105using var client = new HttpClient(handler); 152using var client = new HttpClient(handler); 192using var client = new HttpClient(handler); 235using var client = new HttpClient(new HttpClientHandler { AllowAutoRedirect = true, UseCookies = true }) 269using var client = new HttpClient(handler)
Integration\FrontendOpenIdConnectAuthTests.cs (2)
36using var client = new HttpClient(handler) { BaseAddress = new Uri($"http://{app.FrontendSingleEndPointAccessor().EndPoint}") }; 81using var client = new HttpClient(handler) { BaseAddress = new Uri($"http://{app.OtlpServiceHttpEndPointAccessor().EndPoint}") };
Integration\HealthTests.cs (1)
31using var client = new HttpClient(httpClientHandler) { BaseAddress = new Uri(basePath) };
Integration\IntegrationTestHelpers.cs (1)
143return new HttpClient(handler) { BaseAddress = new Uri(address) };
Integration\OtlpHttpServiceTests.cs (1)
74using var httpClient = new HttpClient(handler);
Integration\ResponseCompressionTests.cs (2)
22using var client = new HttpClient(httpClientHandler) { BaseAddress = new Uri($"http://{app.FrontendSingleEndPointAccessor().EndPoint}") }; 45using var client = new HttpClient(httpClientHandler) { BaseAddress = new Uri($"http://{app.FrontendSingleEndPointAccessor().EndPoint}") };
Integration\SetLanguageEndpointTests.cs (1)
115return new HttpClient(handler) { BaseAddress = baseAddress };
Integration\StartupTests.cs (1)
500using var httpClient = new HttpClient(new HttpClientHandler
Integration\StaticAssetsTests.cs (2)
38using var client = new HttpClient(httpClientHandler) { BaseAddress = new Uri($"http://{app.FrontendSingleEndPointAccessor().EndPoint}") }; 98using var client = new HttpClient(handler) { BaseAddress = new Uri($"http://{app.FrontendSingleEndPointAccessor().EndPoint}") };
Integration\TelemetryApiTests.cs (3)
64using var httpClient = new HttpClient(handler) { BaseAddress = new Uri($"http://{app.FrontendSingleEndPointAccessor().EndPoint}") }; 136using var httpClient = new HttpClient(handler) { BaseAddress = new Uri($"http://{app.FrontendSingleEndPointAccessor().EndPoint}") }; 307using var httpClient = new HttpClient(handler) { BaseAddress = new Uri($"http://{app.FrontendSingleEndPointAccessor().EndPoint}") };
Aspire.Deployment.EndToEnd.Tests (3)
AcaExpressDeploymentTests.cs (1)
347using var client = new HttpClient(handler) { Timeout = TimeSpan.FromSeconds(75) };
AcaStarterDeploymentTests.cs (1)
234using (var http = new HttpClient(handler) { Timeout = TimeSpan.FromSeconds(30) })
Helpers\DotnetProjectDeploymentHelpers.cs (1)
72using var client = new HttpClient(handler) { Timeout = TimeSpan.FromSeconds(15) };
Aspire.Hosting.Azure.Tests (29)
AzureSandboxesTests.cs (25)
554var client = new AzureDevComputeClient(new HttpClient(handler), credential, NullLogger.Instance); 599new HttpClient(handler), 678var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance); 708var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance); 1341var client = new AzureDevComputeClient(new HttpClient(handler), credential, NullLogger.Instance, TimeSpan.Zero); 1363new HttpClient(handler), 1415var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance, TimeSpan.Zero); 1437var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance, TimeSpan.Zero); 1457var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance, TimeSpan.Zero); 1482var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance, TimeSpan.Zero); 1503new HttpClient(handler), 1526new HttpClient(handler), 1552new HttpClient(handler), 1578new HttpClient(handler), 1601new HttpClient(handler), 1639new HttpClient(handler), 1663new HttpClient(handler), 1685var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance); 1707var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance); 1730var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance); 1798var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance); 1861var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance); 1912var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance); 1965var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance); 2017var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance);
FoundryExtensionsTests.cs (4)
416using var httpClient = new HttpClient(handler); 449using var httpClient = new HttpClient(handler); 471using var httpClient = new HttpClient(handler); 495using var httpClient = new HttpClient(handler);
Aspire.Hosting.Foundry.Tests (5)
AzureFoundryToolboxAdministrationTests.cs (1)
64using var httpClient = new HttpClient(handler);
HostedAgentExtensionTests.cs (1)
764using var httpClient = new HttpClient(handler);
PromptAgentTests.cs (1)
156using var httpClient = new HttpClient(handler);
ToolboxTests.cs (2)
412using var client = new HttpClient(handler); 457using var client = new HttpClient(handler);
Aspire.Hosting.Native.Core.Tests (1)
TestServices\DcpCleanupTestHandler.cs (1)
26return new DcpApiClient(options, new HttpClient(this) { BaseAddress = new Uri("http://localhost") }, new Aspire.Shared.TemporaryStorage());
Aspire.Hosting.Native.Server (2)
Dashboard\DcpDashboard.cs (1)
44using var http = new HttpClient(new HttpClientHandler { AllowAutoRedirect = false })
src\Shared\DcpConnectionMaterial.cs (1)
58Client = new HttpClient(handler) { BaseAddress = server, Timeout = requestTimeout };
Aspire.Hosting.Testing.Tests (3)
DashboardUrlTests.cs (3)
43using var httpClient = new HttpClient(handler) 178using var httpClient = new HttpClient(handler) 223using var httpClient = new HttpClient(handler)
Aspire.Hosting.Tests (1)
DistributedApplicationTests.cs (1)
1818using var client2 = new HttpClient(new SocketsHttpHandler
Aspire.Seq (1)
SeqHealthCheck.cs (1)
14private readonly HttpClient _client = new(new SocketsHttpHandler { ActivityHeadersPropagator = null }) { BaseAddress = new Uri(seqUri) };
Aspire.TestTools (1)
GitHubApiClient.cs (1)
86var http = new HttpClient(handler) { Timeout = Timeout.InfiniteTimeSpan };
dotnet-sourcelink (1)
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (1)
293httpClient = new HttpClient(clientHandler);
Microsoft.AspNetCore.Authentication.JwtBearer (1)
JwtBearerPostConfigureOptions.cs (1)
54options.Backchannel = new HttpClient(options.BackchannelHttpHandler ?? new HttpClientHandler());
Microsoft.AspNetCore.Authentication.OAuth (1)
OAuthPostConfigureOptions.cs (1)
38options.Backchannel = new HttpClient(options.BackchannelHttpHandler ?? new HttpClientHandler());
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
OpenIdConnectPostConfigureOptions.cs (1)
70options.Backchannel = new HttpClient(options.BackchannelHttpHandler ?? new HttpClientHandler());
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterPostConfigureOptions.cs (1)
48options.Backchannel = new HttpClient(options.BackchannelHttpHandler ?? new HttpClientHandler());
Microsoft.AspNetCore.Authentication.WsFederation (1)
WsFederationPostConfigureOptions.cs (1)
65options.Backchannel = new HttpClient(options.BackchannelHttpHandler ?? new HttpClientHandler());
Microsoft.AspNetCore.Http.Connections.Client (1)
HttpConnection.cs (1)
660var httpClient = new HttpClient(httpMessageHandler);
Microsoft.AspNetCore.Mvc.Testing (1)
WebApplicationFactory.cs (1)
774client = new HttpClient(handlers[0]);
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Common\DeploymentResult.cs (1)
65new HttpClient(new LoggingHandler(_loggerFactory, baseHandler))
Microsoft.AspNetCore.SpaProxy (1)
SpaProxyLaunchManager.cs (1)
96var httpClient = new HttpClient(new HttpClientHandler()
Microsoft.AspNetCore.SpaServices.Extensions (1)
Proxying\SpaProxy.cs (1)
48return new HttpClient(handler)
Microsoft.AspNetCore.TestHost (1)
TestServer.cs (1)
183return new HttpClient(CreateHandler())
Microsoft.AspNetCore.Testing (2)
ServiceFakesHostExtensions.cs (2)
49return new HttpClient(httpHandler) { BaseAddress = uri }; 55return new HttpClient(handler) { BaseAddress = uri };
Microsoft.AspNetCore.Testing.Tests (1)
FakesExtensionsTests.cs (1)
60var client = new HttpClient(new FakeCertificateHttpClientHandler(certificate))
Microsoft.AspNetCore.Watch.BrowserRefresh (1)
src\sdk\src\Dotnet.Watch\Web.Middleware\BrowserToolsForwarder.cs (1)
58_httpClient = new HttpClient(new SocketsHttpHandler
Microsoft.DotNet.Arcade.Sdk (1)
src\DownloadFile.cs (1)
171using (var httpClient = new HttpClient(handler))
Microsoft.Extensions.AI.OpenAI.Tests (177)
OpenAIChatClientTests.cs (25)
152using HttpClient httpClient = new(handler); 231using HttpClient httpClient = new(handler); 290using HttpClient httpClient = new(handler); 361using HttpClient httpClient = new(handler); 414using HttpClient httpClient = new(handler); 491using HttpClient httpClient = new(handler); 574using HttpClient httpClient = new(handler); 648using HttpClient httpClient = new(handler); 757using HttpClient httpClient = new(handler); 848using HttpClient httpClient = new(handler); 955using HttpClient httpClient = new(handler); 1051using HttpClient httpClient = new(handler); 1170using HttpClient httpClient = new(handler); 1255using HttpClient httpClient = new(handler); 1354using HttpClient httpClient = new(handler); 1494using HttpClient httpClient = new(handler); 1619using HttpClient httpClient = new(handler); 1666using HttpClient httpClient = new(handler); 1714using HttpClient httpClient = new(handler); 1760using HttpClient httpClient = new(handler); 1899using HttpClient httpClient = new(handler); 1944using HttpClient httpClient = new(handler); 1994using HttpClient httpClient = new(handler); 2037using HttpClient httpClient = new(handler); 2106using HttpClient httpClient = new(handler);
OpenAIEmbeddingGeneratorTests.cs (5)
127using HttpClient httpClient = new(handler); 187using HttpClient httpClient = new(handler); 245using HttpClient httpClient = new(handler); 288using HttpClient httpClient = new(handler); 308using HttpClient httpClient = new(handler);
OpenAIHostedFileClientTests.cs (21)
108using HttpClient httpClient = new(handler); 145using HttpClient httpClient = new(handler); 198using HttpClient httpClient = new(handler); 217using HttpClient httpClient = new(handler); 257using HttpClient httpClient = new(handler); 294using HttpClient httpClient = new(handler); 315using HttpClient httpClient = new(handler); 337using HttpClient httpClient = new(handler); 349using HttpClient httpClient = new(handler); 587using HttpClient httpClient = new(handler); 621using HttpClient httpClient = new(handler); 658using HttpClient httpClient = new(handler); 683using HttpClient httpClient = new(handler); 713using HttpClient httpClient = new(handler); 740using HttpClient httpClient = new(handler); 755using HttpClient httpClient = new(handler); 782using HttpClient httpClient = new(handler); 806using HttpClient httpClient = new(handler); 818using HttpClient httpClient = new(handler); 843using HttpClient httpClient = new(handler); 867using HttpClient httpClient = new(handler);
OpenAIRequestPoliciesTests.cs (4)
89using var http = new HttpClient(handler); 105using var http = new HttpClient(handler); 124using var http = new HttpClient(handler); 140using var http = new HttpClient(handler);
OpenAIResponseClientTests.cs (105)
158using HttpClient httpClient = new(handler); 301using HttpClient httpClient = new(handler); 431using HttpClient httpClient = new(handler); 561using HttpClient httpClient = new(handler); 663using HttpClient httpClient = new(handler); 737using HttpClient httpClient = new(handler); 857using HttpClient httpClient = new(handler); 997using HttpClient httpClient = new(handler); 1092using HttpClient httpClient = new(handler); 1199using HttpClient httpClient = new(handler); 1344using HttpClient httpClient = new(handler); 1472using HttpClient httpClient = new(handler); 1606using (HttpClient httpClient = new(handler)) 1727using (HttpClient httpClient = new(handler)) 1866using HttpClient httpClient = new(handler); 2094using HttpClient httpClient = new(handler); 2507using HttpClient httpClient = new(handler); 2714using HttpClient httpClient = new(handler); 2825using HttpClient httpClient = new(handler); 2915using HttpClient httpClient = new(handler); 2987using HttpClient httpClient = new(handler); 3076using HttpClient httpClient = new(handler); 3128using HttpClient httpClient = new(handler); 3223using HttpClient httpClient = new(handler); 3304using HttpClient httpClient = new(handler); 3371using HttpClient httpClient = new(handler); 3488using HttpClient httpClient = new(handler); 3708using HttpClient httpClient = new(handler); 3795using HttpClient httpClient = new(handler); 3864using HttpClient httpClient = new(handler); 3916using HttpClient httpClient = new(handler); 3974using HttpClient httpClient = new(handler); 4033using HttpClient httpClient = new(handler); 4094using HttpClient httpClient = new(handler); 4156using HttpClient httpClient = new(handler); 4219using HttpClient httpClient = new(handler); 4292using HttpClient httpClient = new(handler); 4373using HttpClient httpClient = new(handler); 4444using HttpClient httpClient = new(handler); 4514using HttpClient httpClient = new(handler); 4591using HttpClient httpClient = new(handler); 4669using HttpClient httpClient = new(handler); 4735using HttpClient httpClient = new(handler); 4796using HttpClient httpClient = new(handler); 4866using HttpClient httpClient = new(handler); 4925using HttpClient httpClient = new(handler); 4981using HttpClient httpClient = new(handler); 5042using HttpClient httpClient = new(handler); 5100using HttpClient httpClient = new(handler); 5157using HttpClient httpClient = new(handler); 5216using HttpClient httpClient = new(handler); 5278using HttpClient httpClient = new(handler); 5334using HttpClient httpClient = new(handler); 5389using HttpClient httpClient = new(handler); 5446using HttpClient httpClient = new(handler); 5503using HttpClient httpClient = new(handler); 5540using HttpClient httpClient = new(handler); 5572using HttpClient httpClient = new(handler); 5616using HttpClient httpClient = new(handler); 5669using HttpClient httpClient = new(handler); 5724using HttpClient httpClient = new(handler); 5762using HttpClient httpClient = new(handler); 5797using HttpClient httpClient = new(handler); 5832using HttpClient httpClient = new(handler); 5867using HttpClient httpClient = new(handler); 5905using HttpClient httpClient = new(handler); 5943using HttpClient httpClient = new(handler); 6001using HttpClient httpClient = new(handler); 6044using HttpClient httpClient = new(handler); 6087using HttpClient httpClient = new(handler); 6130using HttpClient httpClient = new(handler); 6205using HttpClient httpClient = new(handler); 6277using HttpClient httpClient = new(handler); 6318using HttpClient httpClient = new(handler); 6372using HttpClient httpClient = new(handler); 6435using HttpClient httpClient = new(handler); 6508using HttpClient httpClient = new(handler); 6608using HttpClient httpClient = new(handler); 6725using HttpClient httpClient = new(handler); 6864using HttpClient httpClient = new(handler); 6964using HttpClient httpClient = new(handler); 7100using (HttpClient httpClient = new(handler)) 7108using (HttpClient httpClient = new(handler)) 7190using HttpClient httpClient = new(handler); 7254using HttpClient httpClient = new(handler); 7329using HttpClient httpClient = new(handler); 7611using HttpClient httpClient = new(handler); 7738using HttpClient httpClient = new(handler); 7848using HttpClient httpClient = new(handler); 7932using HttpClient httpClient = new(handler); 8024using HttpClient httpClient = new(handler); 8094using HttpClient httpClient = new(handler); 8200using HttpClient httpClient = new(handler); 8301using HttpClient httpClient = new(handler); 8406using HttpClient httpClient = new(handler); 8506using HttpClient httpClient = new(handler); 8593using HttpClient httpClient = new(handler); 8684using HttpClient httpClient = new(handler); 8769using HttpClient httpClient = new(handler); 8882using HttpClient httpClient = new(handler); 8981using HttpClient httpClient = new(handler); 9086using HttpClient httpClient = new(handler); 9199using HttpClient httpClient = new(handler); 9304using HttpClient httpClient = new(handler); 9397using HttpClient httpClient = new(handler);
OpenAISpeechToTextClientTests.cs (10)
86using HttpClient httpClient = new(handler); 161using HttpClient httpClient = new(handler); 196using HttpClient httpClient = new(handler); 233using HttpClient httpClient = new(handler); 270using HttpClient httpClient = new(handler); 312using HttpClient httpClient = new(handler); 399using HttpClient httpClient = new(handler); 430using HttpClient httpClient = new(handler); 463using HttpClient httpClient = new(handler); 496using HttpClient httpClient = new(handler);
OpenAITextToSpeechClientTests.cs (7)
78using HttpClient httpClient = new(handler); 106using HttpClient httpClient = new(handler); 135using HttpClient httpClient = new(handler); 168using HttpClient httpClient = new(handler); 198using HttpClient httpClient = new(handler); 262using HttpClient httpClient = new(handler); 307using HttpClient httpClient = new(handler);
Microsoft.Extensions.Http.Diagnostics.Tests (17)
Latency\Internal\HttpLatencyMediatorTests.cs (1)
82using var client = new HttpClient(handler);
Latency\Internal\HttpLatencyTelemetryHandlerTest.cs (1)
80using var client = new HttpClient(handler);
Logging\HttpClientLoggerTest.cs (15)
70using var client = new HttpClient(handler); 105using var client = new HttpClient(handler); 148using var httpClient = new HttpClient(handler); 237using var client = new HttpClient(handler); 277using var client = new HttpClient(handler); 363using var client = new HttpClient(handler); 467using var client = new HttpClient(handler); 583using var client = new HttpClient(handler); 677using var client = new HttpClient(handler); 721using var client = new HttpClient(handler); 764using var client = new HttpClient(handler); 802using var client = new HttpClient(handler); 846using var client = new HttpClient(handler); 952using var client = new HttpClient(handler); 993using var client = new HttpClient(handler);
Microsoft.NET.Build.Containers (1)
Registry\DefaultRegistryAPI.cs (1)
48HttpClient client = new(clientHandler)
Microsoft.TemplateSearch.Common (1)
Providers\NuGetMetadataSearchProvider.cs (1)
177using HttpClient client = new(handler);
NuGet.Protocol (1)
HttpSource\HttpSource.cs (1)
397var httpClient = new HttpClient(httpHandler.MessageHandler)
System.Net.Http (1)
System\Net\Http\HttpClient.cs (1)
143public HttpClient() : this(new HttpClientHandler())
System.Net.Requests (1)
System\Net\HttpWebRequest.cs (1)
1692client = new HttpClient(handler);
System.Private.Xml (1)
System\Xml\XmlDownloadManager.cs (1)
43using (var client = new HttpClient(handler))
System.ServiceModel.Http (1)
System\ServiceModel\Channels\HttpChannelFactory.cs (1)
346httpClient = new HttpClient(handler);
System.Windows.Forms (1)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
29new(new HttpClientHandler { CheckCertificateRevocationList = true });