3 implementations of Protocol
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
593SslProtocols ITlsHandshakeFeature.Protocol => Request.Protocol;
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.FeatureCollection.cs (1)
406SslProtocols ITlsHandshakeFeature.Protocol => Protocol;
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\TlsConnectionFeature.cs (1)
49public SslProtocols Protocol => _sslStream.SslProtocol;
6 references to Protocol
IIS.Tests (1)
TlsHandshakeFeatureTests.cs (1)
32var protocol = tlsHandshakeFeature.Protocol;
InMemory.FunctionalTests (3)
Http2\Http2ConnectionTests.cs (1)
5828tlsHandshakeMock.SetupGet(m => m.Protocol).Returns(SslProtocols.Tls12);
HttpsConnectionMiddlewareTests.cs (2)
148Assert.True(tlsFeature.Protocol > SslProtocols.None, "Protocol"); 185Assert.True(tlsFeature.Protocol > SslProtocols.None, "Protocol");
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Http2\Http2Connection.cs (2)
511if (tlsFeature.Protocol < SslProtocols.Tls12) 513throw new Http2ConnectionErrorException(CoreStrings.FormatHttp2ErrorMinTlsVersion(tlsFeature.Protocol), Http2ErrorCode.INADEQUATE_SECURITY, ConnectionEndReason.InsufficientTlsVersion);