3 types derived from HttpClientHandler
Microsoft.AspNetCore.Testing (1)
FakeCertificateHttpClientHandler.cs (1)
10internal sealed class FakeCertificateHttpClientHandler : HttpClientHandler
Microsoft.AspNetCore.Testing.Tests (2)
TestResources\ReturningHttpClientHandler.cs (1)
11public class ReturningHttpClientHandler : HttpClientHandler
TestResources\TestHandler.cs (1)
11public class TestHandler : HttpClientHandler
92 instantiations of HttpClientHandler
Aspire.Dashboard.Tests (5)
Integration\FrontendOpenIdConnectAuthTests.cs (2)
31var handler = new HttpClientHandler() 76var handler = new HttpClientHandler()
Integration\ResponseCompressionTests.cs (2)
22using var httpClientHandler = new HttpClientHandler { AutomaticDecompression = DecompressionMethods.None }; 44using var httpClientHandler = new HttpClientHandler { AutomaticDecompression = DecompressionMethods.None };
Integration\StartupTests.cs (1)
288using var httpClient = new HttpClient(new HttpClientHandler
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceModelHttpMessageHandler.CoreClr.cs (1)
21_innerHandler = new HttpClientHandler();
IIS.FunctionalTests (9)
Http2TrailersResetTests.cs (2)
505var handler = new HttpClientHandler(); 514var handler = new HttpClientHandler();
Http3Tests.cs (1)
178var handler = new HttpClientHandler();
src\Servers\IIS\IIS\test\Common.FunctionalTests\CompressionTests.cs (1)
127var handler = new HttpClientHandler
src\Servers\IIS\IIS\test\Common.FunctionalTests\Http2Tests.cs (3)
358var handler = new HttpClientHandler(); 372var handler = new HttpClientHandler(); 391var handler = new HttpClientHandler();
src\Servers\IIS\IIS\test\Common.FunctionalTests\HttpsTests.cs (1)
73var handler = new HttpClientHandler
src\Servers\IIS\IIS\test\Common.FunctionalTests\WindowsAuthTests.cs (1)
54var client = deploymentResult.CreateClient(new HttpClientHandler { UseDefaultCredentials = true });
IIS.LongTests (2)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (2)
1371var handler = new HttpClientHandler 1471var handler = new HttpClientHandler
IIS.NewHandler.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (2)
1371var handler = new HttpClientHandler 1471var handler = new HttpClientHandler
IIS.NewShim.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (2)
1371var handler = new HttpClientHandler 1471var handler = new HttpClientHandler
IISExpress.FunctionalTests (10)
InProcess\AuthenticationTests.cs (1)
54var httpClientHandler = new HttpClientHandler() { UseDefaultCredentials = true };
OutOfProcess\NtlmAuthentationTest.cs (1)
71var httpClientHandler = new HttpClientHandler() { UseDefaultCredentials = true };
src\Servers\IIS\IIS\test\Common.FunctionalTests\CompressionTests.cs (1)
127var handler = new HttpClientHandler
src\Servers\IIS\IIS\test\Common.FunctionalTests\Http2Tests.cs (3)
358var handler = new HttpClientHandler(); 372var handler = new HttpClientHandler(); 391var handler = new HttpClientHandler();
src\Servers\IIS\IIS\test\Common.FunctionalTests\HttpsTests.cs (1)
73var handler = new HttpClientHandler
src\Servers\IIS\IIS\test\Common.FunctionalTests\WindowsAuthTests.cs (1)
54var client = deploymentResult.CreateClient(new HttpClientHandler { UseDefaultCredentials = true });
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (2)
1371var handler = new HttpClientHandler 1471var handler = new HttpClientHandler
Interop.FunctionalTests (7)
Http2WebSocketInteropTests.cs (2)
138var handler = new HttpClientHandler(); 168var handler = new HttpClientHandler();
Http3\Http3RequestTests.cs (4)
1002var httpClientHandler = new HttpClientHandler(); 1099var httpClientHandler = new HttpClientHandler(); 1247var httpClientHandler = new HttpClientHandler(); 1308var httpClientHandler = new HttpClientHandler();
HttpClientHttp2InteropTests.cs (1)
1688var handler = new HttpClientHandler();
InteropClient (1)
InteropClient.cs (1)
158var httpClientHandler = new HttpClientHandler();
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)
555var httpClientHandler = new HttpClientHandler();
Microsoft.AspNetCore.Http.Connections.Tests (1)
HttpConnectionDispatcherTests.cs (1)
3318using (var client = new HttpClient(new HttpClientHandler() { CookieContainer = cookies }))
Microsoft.AspNetCore.Identity.Test (1)
IdentityUIScriptsTest.cs (1)
23_httpClient = new HttpClient(new RetryHandler(new HttpClientHandler() { }, output, TimeSpan.FromSeconds(1), 5));
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (14)
AuthenticationTests.cs (1)
459HttpClientHandler handler = new HttpClientHandler();
Http2Tests.cs (2)
622var handler = new HttpClientHandler(); 644var handler = new HttpClientHandler();
Http3Tests.cs (8)
38var handler = new HttpClientHandler(); 68var handler = new HttpClientHandler(); 108var handler = new HttpClientHandler(); 142var handler = new HttpClientHandler(); 170var handler = new HttpClientHandler(); 200var handler = new HttpClientHandler(); 225var handler = new HttpClientHandler(); 249var handler = new HttpClientHandler();
HttpsTests.cs (1)
275var handler = new HttpClientHandler();
Listener\AuthenticationOnExistingQueueTests.cs (1)
221HttpClientHandler handler = new HttpClientHandler();
ResponseTrailersTests.cs (1)
360var handler = new HttpClientHandler();
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Common\DeploymentResult.cs (1)
55HttpClient = CreateHttpClient(new HttpClientHandler());
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
IISDeploymentResult.cs (1)
34HttpClient = CreateClient(new HttpClientHandler());
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
WebHostTests.cs (1)
417var httpHandler = new HttpClientHandler();
Microsoft.AspNetCore.SpaProxy (1)
SpaProxyLaunchManager.cs (1)
96var httpClient = new HttpClient(new HttpClientHandler()
Microsoft.AspNetCore.SpaServices.Extensions (1)
Proxying\SpaProxy.cs (1)
42var handler = new HttpClientHandler
Microsoft.AspNetCore.WebSockets.ConformanceTests (1)
Autobahn\AutobahnTester.cs (1)
150var handler = new HttpClientHandler();
Microsoft.Build.Tasks.Core (1)
DownloadFile.cs (1)
150using (var client = new HttpClient(HttpMessageHandler ?? new HttpClientHandler(), disposeHandler: true) { Timeout = TimeSpan.FromMilliseconds(Timeout) })
Microsoft.DotNet.Arcade.Sdk (1)
src\DownloadFile.cs (1)
126using (var httpClient = new HttpClient(new HttpClientHandler { CheckCertificateRevocationList = true }))
Microsoft.DotNet.Build.Tasks.Feed (2)
src\common\AzureStorageUtils.cs (1)
52new HttpClientHandler()
src\CreateAzureDevOpsFeed.cs (1)
132using (HttpClient client = new HttpClient(new HttpClientHandler { CheckCertificateRevocationList = true })
Microsoft.DotNet.Deployment.Tasks.Links (1)
Microsoft.DotNet.Git.IssueManager (1)
Clients\AzureDevOpsClient.cs (1)
52HttpClient client = new HttpClient(new HttpClientHandler { CheckCertificateRevocationList = true })
Microsoft.DotNet.Helix.Sdk (3)
AzureDevOpsTask.cs (1)
56using (var client = new HttpClient(new HttpClientHandler
FindDotNetCliPackage.cs (1)
62_httpMessageHandler = new HttpClientHandler { CheckCertificateRevocationList = true };
ProvisioningProfileProvider.cs (1)
241collection.TryAddSingleton(_ => new HttpClient(new HttpClientHandler { CheckCertificateRevocationList = true }));
Microsoft.DotNet.SwaggerGenerator.CmdLine (1)
Program.cs (1)
118using (var client = new HttpClient(new HttpClientHandler { CheckCertificateRevocationList = true }))
Microsoft.DotNet.SwaggerGenerator.MSBuild (1)
GenerateSwaggerCode.cs (1)
98using (var client = new HttpClient(new HttpClientHandler { CheckCertificateRevocationList = true }))
Microsoft.DotNet.VersionTools (1)
Util\X509Helper.cs (1)
13return new HttpClient(new HttpClientHandler { CheckCertificateRevocationList = true });
Microsoft.Extensions.Http (1)
DefaultHttpMessageHandlerBuilder.cs (1)
84return new HttpClientHandler();
Negotiate.Client (1)
Controllers\AuthTestController.cs (1)
327return new HttpClient(new HttpClientHandler()
ServerComparison.FunctionalTests (2)
NtlmAuthenticationTest.cs (1)
87httpClient = deploymentResult.CreateHttpClient(new HttpClientHandler() { UseDefaultCredentials = true });
ResponseCompressionTests.cs (1)
137var httpClientHandler = new HttpClientHandler() { AutomaticDecompression = DecompressionMethods.None };
Sockets.FunctionalTests (1)
src\Servers\Kestrel\test\FunctionalTests\Http2\HandshakeTests.cs (1)
33Client = new HttpClient(new HttpClientHandler
System.Net.Http (1)
System\Net\Http\HttpClient.cs (1)
138public HttpClient() : this(new HttpClientHandler())
System.Private.Xml (1)
System\Xml\XmlDownloadManager.cs (1)
42var handler = new HttpClientHandler();
System.Windows.Forms (1)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
30new(new HttpClientHandler { CheckCertificateRevocationList = true });
Templates.Blazor.Tests (1)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
44_httpClient = new HttpClient(new HttpClientHandler()
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
44_httpClient = new HttpClient(new HttpClientHandler()
Templates.Blazor.WebAssembly.Tests (1)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
44_httpClient = new HttpClient(new HttpClientHandler()
Templates.Mvc.Tests (1)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
44_httpClient = new HttpClient(new HttpClientHandler()
Templates.Tests (1)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
44_httpClient = new HttpClient(new HttpClientHandler()
115 references to HttpClientHandler
Aspire.Dashboard.Tests (4)
Integration\FrontendOpenIdConnectAuthTests.cs (2)
31var handler = new HttpClientHandler() 76var handler = new HttpClientHandler()
Integration\ResponseCompressionTests.cs (2)
22using var httpClientHandler = new HttpClientHandler { AutomaticDecompression = DecompressionMethods.None }; 44using var httpClientHandler = new HttpClientHandler { AutomaticDecompression = DecompressionMethods.None };
Binding.Http.IntegrationTests (2)
HttpBindingTestHelpers.cs (2)
16bindingParameters.Add(new Func<HttpClientHandler, HttpMessageHandler>(GetHttpMessageHandler)); 25public HttpMessageHandler GetHttpMessageHandler(HttpClientHandler httpClientHandler)
Binding.ReliableSession.IntegrationTests (2)
src\System.Private.ServiceModel\tests\Scenarios\Binding\Http\HttpBindingTestHelpers.cs (2)
16bindingParameters.Add(new Func<HttpClientHandler, HttpMessageHandler>(GetHttpMessageHandler)); 25public HttpMessageHandler GetHttpMessageHandler(HttpClientHandler httpClientHandler)
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceModelHttpMessageHandler.CoreClr.cs (1)
17private HttpClientHandler _innerHandler;
IIS.FunctionalTests (14)
Http2TrailersResetTests.cs (4)
505var handler = new HttpClientHandler(); 507handler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator; 514var handler = new HttpClientHandler(); 516handler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator;
Http3Tests.cs (2)
178var handler = new HttpClientHandler(); 180handler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator;
src\Servers\IIS\IIS\test\Common.FunctionalTests\CompressionTests.cs (1)
127var handler = new HttpClientHandler
src\Servers\IIS\IIS\test\Common.FunctionalTests\Http2Tests.cs (6)
358var handler = new HttpClientHandler(); 359handler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator; 372var handler = new HttpClientHandler(); 373handler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator; 391var handler = new HttpClientHandler(); 393handler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator;
src\Servers\IIS\IIS\test\Common.FunctionalTests\HttpsTests.cs (1)
73var handler = new HttpClientHandler
IIS.LongTests (2)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (2)
1371var handler = new HttpClientHandler 1471var handler = new HttpClientHandler
IIS.NewHandler.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (2)
1371var handler = new HttpClientHandler 1471var handler = new HttpClientHandler
IIS.NewShim.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (2)
1371var handler = new HttpClientHandler 1471var handler = new HttpClientHandler
IISExpress.FunctionalTests (12)
InProcess\AuthenticationTests.cs (1)
54var httpClientHandler = new HttpClientHandler() { UseDefaultCredentials = true };
OutOfProcess\NtlmAuthentationTest.cs (1)
71var httpClientHandler = new HttpClientHandler() { UseDefaultCredentials = true };
src\Servers\IIS\IIS\test\Common.FunctionalTests\CompressionTests.cs (1)
127var handler = new HttpClientHandler
src\Servers\IIS\IIS\test\Common.FunctionalTests\Http2Tests.cs (6)
358var handler = new HttpClientHandler(); 359handler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator; 372var handler = new HttpClientHandler(); 373handler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator; 391var handler = new HttpClientHandler(); 393handler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator;
src\Servers\IIS\IIS\test\Common.FunctionalTests\HttpsTests.cs (1)
73var handler = new HttpClientHandler
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (2)
1371var handler = new HttpClientHandler 1471var handler = new HttpClientHandler
Interop.FunctionalTests (15)
Http2WebSocketInteropTests.cs (5)
138var handler = new HttpClientHandler(); 139handler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator; 168var handler = new HttpClientHandler(); 169handler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator; 193public PauseSendHandler(HttpClientHandler handler) : base(handler)
Http3\Http3RequestTests.cs (8)
1002var httpClientHandler = new HttpClientHandler(); 1003httpClientHandler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator; 1099var httpClientHandler = new HttpClientHandler(); 1100httpClientHandler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator; 1247var httpClientHandler = new HttpClientHandler(); 1248httpClientHandler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator; 1308var httpClientHandler = new HttpClientHandler(); 1309httpClientHandler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator;
HttpClientHttp2InteropTests.cs (2)
1688var handler = new HttpClientHandler(); 1689handler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator;
InteropClient (2)
InteropClient.cs (2)
158var httpClientHandler = new HttpClientHandler(); 159httpClientHandler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator!;
Microsoft.AspNetCore.Http.Connections.Client (1)
HttpConnection.cs (1)
555var httpClientHandler = new HttpClientHandler();
Microsoft.AspNetCore.Identity.Test (1)
RetryHandler.cs (1)
16HttpClientHandler httpClientHandler,
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (26)
AuthenticationTests.cs (1)
459HttpClientHandler handler = new HttpClientHandler();
Http2Tests.cs (4)
622var handler = new HttpClientHandler(); 623handler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator; 644var handler = new HttpClientHandler(); 645handler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator;
Http3Tests.cs (16)
38var handler = new HttpClientHandler(); 40handler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator; 68var handler = new HttpClientHandler(); 70handler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator; 108var handler = new HttpClientHandler(); 110handler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator; 142var handler = new HttpClientHandler(); 144handler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator; 170var handler = new HttpClientHandler(); 172handler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator; 200var handler = new HttpClientHandler(); 202handler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator; 225var handler = new HttpClientHandler(); 227handler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator; 249var handler = new HttpClientHandler(); 251handler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator;
HttpsTests.cs (2)
275var handler = new HttpClientHandler(); 276handler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator;
Listener\AuthenticationOnExistingQueueTests.cs (1)
221HttpClientHandler handler = new HttpClientHandler();
ResponseTrailersTests.cs (2)
360var handler = new HttpClientHandler(); 362handler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator;
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (2)
WebHostTests.cs (2)
417var httpHandler = new HttpClientHandler(); 418httpHandler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator;
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (8)
HubConnectionTests.cs (8)
1765((HttpClientHandler)h).ServerCertificateCustomValidationCallback = (_, _, _, _) => true; 1823((HttpClientHandler)h).ServerCertificateCustomValidationCallback = (_, _, _, _) => true; 1883((HttpClientHandler)h).ServerCertificateCustomValidationCallback = (_, _, _, _) => true; 1926((HttpClientHandler)h).ServerCertificateCustomValidationCallback = (_, _, _, _) => true; 2381((HttpClientHandler)h).ServerCertificateCustomValidationCallback = (_, _, _, _) => true; 2434((HttpClientHandler)h).ServerCertificateCustomValidationCallback = (_, _, _, _) => true; 2477((HttpClientHandler)h).ServerCertificateCustomValidationCallback = (_, _, _, _) => true; 2527((HttpClientHandler)h).ServerCertificateCustomValidationCallback = (_, _, _, _) => true;
Microsoft.AspNetCore.SignalR.Client.Tests (2)
HttpConnectionTests.cs (2)
84HttpClientHandler httpClientHandler = null; 90httpClientHandler = (HttpClientHandler)inner;
Microsoft.AspNetCore.SpaProxy (1)
SpaProxyLaunchManager.cs (1)
99ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator
Microsoft.AspNetCore.SpaServices.Extensions (1)
Proxying\SpaProxy.cs (1)
42var handler = new HttpClientHandler
Microsoft.AspNetCore.Testing (1)
ServiceFakesHostExtensions.cs (1)
30/// <param name="handler">The inner <see cref="HttpClientHandler"/>.</param>
Microsoft.AspNetCore.WebSockets.ConformanceTests (2)
Autobahn\AutobahnTester.cs (2)
150var handler = new HttpClientHandler(); 157handler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator;
Microsoft.Extensions.Http (1)
MetricsFactoryHttpMessageHandlerFilter.cs (1)
31if (builder.PrimaryHandler is HttpClientHandler httpClientHandler)
Microsoft.Extensions.ServiceDiscovery (2)
Http\ResolvingHttpClientHandler.cs (2)
9/// <see cref="HttpClientHandler"/> which resolves endpoints using service discovery. 11internal sealed class ResolvingHttpClientHandler(HttpServiceEndpointResolver resolver, IOptions<ServiceDiscoveryOptions> options) : HttpClientHandler
Negotiate.Client (2)
Controllers\AuthTestController.cs (2)
330ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator, 344ServerCertificateValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator,
netstandard (1)
netstandard.cs (1)
1124[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Http.HttpClientHandler))]
ServerComparison.FunctionalTests (1)
ResponseCompressionTests.cs (1)
137var httpClientHandler = new HttpClientHandler() { AutomaticDecompression = DecompressionMethods.None };
Sockets.FunctionalTests (1)
src\Servers\Kestrel\test\FunctionalTests\Http2\HandshakeTests.cs (1)
35ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator
System.Net.Http (3)
System\Net\Http\HttpClientHandler.cs (2)
92/// Gets or sets the <see cref="IMeterFactory"/> to create a custom <see cref="Meter"/> for the <see cref="HttpClientHandler"/> instance. 95/// When <see cref="MeterFactory"/> is set to a non-<see langword="null"/> value, all metrics emitted by the <see cref="HttpClientHandler"/> instance
System\Net\Http\HttpRequestError.cs (1)
67/// The response exceeded a pre-configured limit such as <see cref="HttpClient.MaxResponseContentBufferSize"/> or <see cref="HttpClientHandler.MaxResponseHeadersLength"/>.
System.Private.Xml (1)
System\Xml\XmlDownloadManager.cs (1)
42var handler = new HttpClientHandler();