4 references to Http1AndHttp2
Aspire.Dashboard (1)
DashboardWebApplication.cs (1)
664EndpointInfo.TryAddEndpoint(endpoints, dashboardOptions.Otlp.GetHttpEndpointAddress(), "OtlpHttp", httpProtocols: HttpProtocols.Http1AndHttp2, requireCertificate: dashboardOptions.Otlp.AuthMode == OtlpAuthMode.ClientCertificate, connectionType: ConnectionType.OtlpHttp);
Microsoft.AspNetCore.Server.Kestrel.Core (3)
DirectTlsEndpointOptions.cs (1)
148internal HttpProtocols HttpProtocols { get; set; } = HttpProtocols.Http1AndHttp2;
ListenOptions.cs (1)
19internal const HttpProtocols DefaultHttpProtocols = HttpProtocols.Http1AndHttp2;
Middleware\HttpsConnectionMiddleware.cs (1)
540else if (httpProtocols == HttpProtocols.Http1AndHttp2 && _isWindowsVersionIncompatibleWithHttp2)