56 references to HttpsConnectionAdapterOptions
InMemory.FunctionalTests (25)
HttpsConnectionMiddlewareTests.cs (25)
55listenOptions.UseHttps(new HttpsConnectionAdapterOptions { ServerCertificate = _x509Certificate2 }); 109listenOptions.UseHttps(new HttpsConnectionAdapterOptions { ServerCertificate = _x509Certificate2 }); 133new HttpsConnectionAdapterOptions 210listenOptions.UseHttps(new HttpsConnectionAdapterOptions 227listenOptions.UseHttps(new HttpsConnectionAdapterOptions 278Assert.Throws<ArgumentException>(() => CreateMiddleware(new HttpsConnectionAdapterOptions(), ListenOptions.DefaultHttpProtocols)); 286listenOptions.UseHttps(new HttpsConnectionAdapterOptions { ServerCertificate = _x509Certificate2 }); 306listenOptions.UseHttps(new HttpsConnectionAdapterOptions 370listenOptions.UseHttps(new HttpsConnectionAdapterOptions 412listenOptions.UseHttps(new HttpsConnectionAdapterOptions 442listenOptions.UseHttps(new HttpsConnectionAdapterOptions 474listenOptions.UseHttps(new HttpsConnectionAdapterOptions 828listenOptions.UseHttps(new HttpsConnectionAdapterOptions 1119listenOptions.UseHttps(new HttpsConnectionAdapterOptions { ServerCertificate = _x509Certificate2 }); 1169listenOptions.UseHttps(new HttpsConnectionAdapterOptions 1202listenOptions.UseHttps(new HttpsConnectionAdapterOptions 1228listenOptions.UseHttps(new HttpsConnectionAdapterOptions 1329CreateMiddleware(new HttpsConnectionAdapterOptions 1349CreateMiddleware(new HttpsConnectionAdapterOptions 1369new HttpsConnectionAdapterOptions 1418var httpConnectionAdapterOptions = new HttpsConnectionAdapterOptions 1432var httpConnectionAdapterOptions = new HttpsConnectionAdapterOptions 1446var httpConnectionAdapterOptions = new HttpsConnectionAdapterOptions 1459var httpConnectionAdapterOptions = new HttpsConnectionAdapterOptions 1470return 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 });