10 references to None
InMemory.FunctionalTests (1)
HttpProtocolSelectionTests.cs (1)
22
return TestError<InvalidOperationException>(HttpProtocols.
None
, CoreStrings.EndPointRequiresAtLeastOneProtocol);
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\HttpConnection.cs (3)
87
case HttpProtocols.
None
:
225
if (_context.Protocols == HttpProtocols.
None
)
248
return HttpProtocols.
None
;
Internal\KestrelServerImpl.cs (1)
185
|| options.Protocols == HttpProtocols.
None
) // TODO a test fails because it doesn't throw an exception in the right place
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
SniOptionsSelectorTests.cs (3)
586
Protocols = HttpProtocols.
None
,
605
Assert.Equal(HttpProtocols.
None
, httpProtocolsFeature.HttpProtocols);
630
fallbackHttpProtocols: HttpProtocols.
None
,
Microsoft.AspNetCore.Server.Kestrel.Tests (2)
KestrelConfigurationLoaderTests.cs (2)
1359
new KeyValuePair<string, string>("Endpoints:End1:Sni:*.example.org:Protocols", HttpProtocols.
None
.ToString()),
1371
Assert.Equal(HttpProtocols.
None
, sniConfig.Protocols);