56 references to HttpsConnectionAdapterOptions
InMemory.FunctionalTests (25)
HttpsConnectionMiddlewareTests.cs (25)
55
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
{ ServerCertificate = _x509Certificate2 });
109
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
{ ServerCertificate = _x509Certificate2 });
133
new
HttpsConnectionAdapterOptions
210
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
227
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
278
Assert.Throws<ArgumentException>(() => CreateMiddleware(new
HttpsConnectionAdapterOptions
(), ListenOptions.DefaultHttpProtocols));
286
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
{ ServerCertificate = _x509Certificate2 });
306
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
370
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
412
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
442
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
474
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
828
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
1119
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
{ ServerCertificate = _x509Certificate2 });
1169
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
1202
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
1228
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
1329
CreateMiddleware(new
HttpsConnectionAdapterOptions
1349
CreateMiddleware(new
HttpsConnectionAdapterOptions
1369
new
HttpsConnectionAdapterOptions
1418
var httpConnectionAdapterOptions = new
HttpsConnectionAdapterOptions
1432
var httpConnectionAdapterOptions = new
HttpsConnectionAdapterOptions
1446
var httpConnectionAdapterOptions = new
HttpsConnectionAdapterOptions
1459
var httpConnectionAdapterOptions = new
HttpsConnectionAdapterOptions
1470
return CreateMiddleware(new
HttpsConnectionAdapterOptions
Interop.FunctionalTests (1)
Http3\Http3TlsTests.cs (1)
367
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
Microsoft.AspNetCore.Server.Kestrel.Core (2)
KestrelConfigurationLoader.cs (1)
380
var httpsOptions = new
HttpsConnectionAdapterOptions
();
ListenOptionsHttpsExtensions.cs (1)
172
var options = new
HttpsConnectionAdapterOptions
();
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (21)
SniOptionsSelectorTests.cs (21)
68
fallbackHttpsOptions: new
HttpsConnectionAdapterOptions
(),
125
fallbackHttpsOptions: new
HttpsConnectionAdapterOptions
(),
171
fallbackHttpsOptions: new
HttpsConnectionAdapterOptions
(),
220
fallbackHttpsOptions: new
HttpsConnectionAdapterOptions
(),
283
fallbackHttpsOptions: new
HttpsConnectionAdapterOptions
(),
328
fallbackHttpsOptions: new
HttpsConnectionAdapterOptions
(),
341
fallbackHttpsOptions: new
HttpsConnectionAdapterOptions
(),
376
fallbackHttpsOptions: new
HttpsConnectionAdapterOptions
(),
402
fallbackHttpsOptions: new
HttpsConnectionAdapterOptions
(),
427
var fallbackOptions = new
HttpsConnectionAdapterOptions
472
var fallbackOptions = new
HttpsConnectionAdapterOptions
518
fallbackHttpsOptions: new
HttpsConnectionAdapterOptions
(),
532
var fallbackOptions = new
HttpsConnectionAdapterOptions
559
var fallbackOptions = new
HttpsConnectionAdapterOptions
596
new
HttpsConnectionAdapterOptions
(),
629
new
HttpsConnectionAdapterOptions
(),
659
new
HttpsConnectionAdapterOptions
(),
692
new
HttpsConnectionAdapterOptions
723
new
HttpsConnectionAdapterOptions
753
new
HttpsConnectionAdapterOptions
788
new
HttpsConnectionAdapterOptions
Microsoft.AspNetCore.Server.Kestrel.Tests (6)
HttpsConfigurationTests.cs (1)
220
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
()
HttpsConnectionAdapterOptionsTest.cs (4)
17
Assert.Equal(TimeSpan.FromSeconds(10), new
HttpsConnectionAdapterOptions
().HandshakeTimeout);
24
Assert.Equal(value, new
HttpsConnectionAdapterOptions
{ HandshakeTimeout = value }.HandshakeTimeout);
30
Assert.Equal(TimeSpan.MaxValue, new
HttpsConnectionAdapterOptions
{ HandshakeTimeout = Timeout.InfiniteTimeSpan }.HandshakeTimeout);
37
var exception = Assert.Throws<ArgumentOutOfRangeException>(() => new
HttpsConnectionAdapterOptions
{ HandshakeTimeout = value });
KestrelConfigurationLoaderTests.cs (1)
350
var httpsOptions = new
HttpsConnectionAdapterOptions
();
Sockets.FunctionalTests (1)
src\Servers\Kestrel\test\FunctionalTests\ResponseTests.cs (1)
657
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
{ ServerCertificate = certificate });