10 references to None
InMemory.FunctionalTests (1)
HttpProtocolSelectionTests.cs (1)
22return TestError<InvalidOperationException>(HttpProtocols.None, CoreStrings.EndPointRequiresAtLeastOneProtocol);
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\HttpConnection.cs (3)
87case HttpProtocols.None: 225if (_context.Protocols == HttpProtocols.None) 248return 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)
586Protocols = HttpProtocols.None, 605Assert.Equal(HttpProtocols.None, httpProtocolsFeature.HttpProtocols); 630fallbackHttpProtocols: HttpProtocols.None,
Microsoft.AspNetCore.Server.Kestrel.Tests (2)
KestrelConfigurationLoaderTests.cs (2)
1359new KeyValuePair<string, string>("Endpoints:End1:Sni:*.example.org:Protocols", HttpProtocols.None.ToString()), 1371Assert.Equal(HttpProtocols.None, sniConfig.Protocols);