56 references to HttpsConnectionAdapterOptions
InMemory.FunctionalTests (25)
HttpsConnectionMiddlewareTests.cs (25)
55listenOptions.UseHttps(new HttpsConnectionAdapterOptions { ServerCertificate = _x509Certificate2 }); 109listenOptions.UseHttps(new HttpsConnectionAdapterOptions { ServerCertificate = _x509Certificate2 }); 133new HttpsConnectionAdapterOptions 206listenOptions.UseHttps(new HttpsConnectionAdapterOptions 223listenOptions.UseHttps(new HttpsConnectionAdapterOptions 274Assert.Throws<ArgumentException>(() => CreateMiddleware(new HttpsConnectionAdapterOptions(), ListenOptions.DefaultHttpProtocols)); 282listenOptions.UseHttps(new HttpsConnectionAdapterOptions { ServerCertificate = _x509Certificate2 }); 302listenOptions.UseHttps(new HttpsConnectionAdapterOptions 366listenOptions.UseHttps(new HttpsConnectionAdapterOptions 408listenOptions.UseHttps(new HttpsConnectionAdapterOptions 438listenOptions.UseHttps(new HttpsConnectionAdapterOptions 470listenOptions.UseHttps(new HttpsConnectionAdapterOptions 824listenOptions.UseHttps(new HttpsConnectionAdapterOptions 1115listenOptions.UseHttps(new HttpsConnectionAdapterOptions { ServerCertificate = _x509Certificate2 }); 1165listenOptions.UseHttps(new HttpsConnectionAdapterOptions 1198listenOptions.UseHttps(new HttpsConnectionAdapterOptions 1224listenOptions.UseHttps(new HttpsConnectionAdapterOptions 1325CreateMiddleware(new HttpsConnectionAdapterOptions 1345CreateMiddleware(new HttpsConnectionAdapterOptions 1365new HttpsConnectionAdapterOptions 1414var httpConnectionAdapterOptions = new HttpsConnectionAdapterOptions 1428var httpConnectionAdapterOptions = new HttpsConnectionAdapterOptions 1442var httpConnectionAdapterOptions = new HttpsConnectionAdapterOptions 1455var httpConnectionAdapterOptions = new HttpsConnectionAdapterOptions 1466return CreateMiddleware(new HttpsConnectionAdapterOptions
Interop.FunctionalTests (1)
Http3\Http3TlsTests.cs (1)
367listenOptions.UseHttps(new HttpsConnectionAdapterOptions
Microsoft.AspNetCore.Server.Kestrel.Core (2)
KestrelConfigurationLoader.cs (1)
380var httpsOptions = new HttpsConnectionAdapterOptions();
ListenOptionsHttpsExtensions.cs (1)
172var options = new HttpsConnectionAdapterOptions();
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (21)
SniOptionsSelectorTests.cs (21)
68fallbackHttpsOptions: new HttpsConnectionAdapterOptions(), 125fallbackHttpsOptions: new HttpsConnectionAdapterOptions(), 171fallbackHttpsOptions: new HttpsConnectionAdapterOptions(), 220fallbackHttpsOptions: new HttpsConnectionAdapterOptions(), 283fallbackHttpsOptions: new HttpsConnectionAdapterOptions(), 328fallbackHttpsOptions: new HttpsConnectionAdapterOptions(), 341fallbackHttpsOptions: new HttpsConnectionAdapterOptions(), 376fallbackHttpsOptions: new HttpsConnectionAdapterOptions(), 402fallbackHttpsOptions: new HttpsConnectionAdapterOptions(), 427var fallbackOptions = new HttpsConnectionAdapterOptions 472var fallbackOptions = new HttpsConnectionAdapterOptions 518fallbackHttpsOptions: new HttpsConnectionAdapterOptions(), 532var fallbackOptions = new HttpsConnectionAdapterOptions 559var fallbackOptions = new HttpsConnectionAdapterOptions 596new HttpsConnectionAdapterOptions(), 629new HttpsConnectionAdapterOptions(), 659new HttpsConnectionAdapterOptions(), 692new HttpsConnectionAdapterOptions 723new HttpsConnectionAdapterOptions 753new HttpsConnectionAdapterOptions 788new HttpsConnectionAdapterOptions
Microsoft.AspNetCore.Server.Kestrel.Tests (6)
HttpsConfigurationTests.cs (1)
220listenOptions.UseHttps(new HttpsConnectionAdapterOptions()
HttpsConnectionAdapterOptionsTest.cs (4)
17Assert.Equal(TimeSpan.FromSeconds(10), new HttpsConnectionAdapterOptions().HandshakeTimeout); 24Assert.Equal(value, new HttpsConnectionAdapterOptions { HandshakeTimeout = value }.HandshakeTimeout); 30Assert.Equal(TimeSpan.MaxValue, new HttpsConnectionAdapterOptions { HandshakeTimeout = Timeout.InfiniteTimeSpan }.HandshakeTimeout); 37var exception = Assert.Throws<ArgumentOutOfRangeException>(() => new HttpsConnectionAdapterOptions { HandshakeTimeout = value });
KestrelConfigurationLoaderTests.cs (1)
350var httpsOptions = new HttpsConnectionAdapterOptions();
Sockets.FunctionalTests (1)
src\Servers\Kestrel\test\FunctionalTests\ResponseTests.cs (1)
657listenOptions.UseHttps(new HttpsConnectionAdapterOptions { ServerCertificate = certificate });