1 implementation of ApplicationProtocol
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\TlsConnectionFeature.cs (1)
48public ReadOnlyMemory<byte> ApplicationProtocol => _sslStream.NegotiatedApplicationProtocol.Protocol;
6 references to ApplicationProtocol
InMemory.FunctionalTests (1)
Http2\TlsTests.cs (1)
45Assert.Equal(tlsFeature.ApplicationProtocol, SslApplicationProtocol.Http2.Protocol);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\HttpConnection.cs (1)
216var applicationProtocol = _context.ConnectionFeatures.Get<ITlsApplicationProtocolFeature>()?.ApplicationProtocol
Sockets.FunctionalTests (4)
src\Servers\Kestrel\test\FunctionalTests\Http2\HandshakeTests.cs (4)
73Assert.True(SslApplicationProtocol.Http2.Protocol.Span.SequenceEqual(tlsFeature.ApplicationProtocol.Span), 74"ALPN: " + tlsFeature.ApplicationProtocol.Length); 101Assert.True(SslApplicationProtocol.Http2.Protocol.Span.SequenceEqual(tlsFeature.ApplicationProtocol.Span), 102"ALPN: " + tlsFeature.ApplicationProtocol.Length);