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