2 references to Http2Id
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\HttpConnection.cs (2)
240
if (!http1Enabled && http2Enabled && hasTls && !
Http2Id
.SequenceEqual(applicationProtocol.Span))
257
return http2Enabled && (!hasTls ||
Http2Id
.SequenceEqual(applicationProtocol.Span)) ? HttpProtocols.Http2 : HttpProtocols.Http1;