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
206
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
223
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
274
Assert.Throws<ArgumentException>(() => CreateMiddleware(new
HttpsConnectionAdapterOptions
(), ListenOptions.DefaultHttpProtocols));
282
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
{ ServerCertificate = _x509Certificate2 });
302
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
366
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
408
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
438
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
470
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
824
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
1115
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
{ ServerCertificate = _x509Certificate2 });
1165
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
1198
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
1224
listenOptions.UseHttps(new
HttpsConnectionAdapterOptions
1325
CreateMiddleware(new
HttpsConnectionAdapterOptions
1345
CreateMiddleware(new
HttpsConnectionAdapterOptions
1365
new
HttpsConnectionAdapterOptions
1414
var httpConnectionAdapterOptions = new
HttpsConnectionAdapterOptions
1428
var httpConnectionAdapterOptions = new
HttpsConnectionAdapterOptions
1442
var httpConnectionAdapterOptions = new
HttpsConnectionAdapterOptions
1455
var httpConnectionAdapterOptions = new
HttpsConnectionAdapterOptions
1466
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 });