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