4 writes to Protocols
Aspire.Dashboard.Tests (1)
Integration\DashboardClientAuthTests.cs (1)
98
options.
Protocols
= HttpProtocols.Http2;
Aspire.Hosting (1)
Dashboard\DashboardServiceHost.cs (1)
168
options.
Protocols
= HttpProtocols.Http2;
Microsoft.AspNetCore.Server.Kestrel.Core (2)
KestrelConfigurationLoader.cs (2)
245
listenOptions.
Protocols
= defaults.Protocols.Value;
374
listenOptions.
Protocols
= endpoint.Protocols.Value;
15 references to Protocols
Aspire.Dashboard (2)
DashboardWebApplication.cs (2)
662
""", name, address, string.Join(", ", connectionTypes), endpointConfiguration.IsHttps, endpointConfiguration.ListenOptions.
Protocols
);
664
if (!endpointConfiguration.IsHttps && connectionTypes.Contains(ConnectionType.Frontend) && endpointConfiguration.ListenOptions.
Protocols
== HttpProtocols.Http2)
Microsoft.AspNetCore.Server.Kestrel.Core (13)
Internal\KestrelServerImpl.cs (6)
141
var hasHttp1 = options.
Protocols
.HasFlag(HttpProtocols.Http1);
142
var hasHttp2 = options.
Protocols
.HasFlag(HttpProtocols.Http2);
143
var hasHttp3 = options.
Protocols
.HasFlag(HttpProtocols.Http3);
189
|| options.
Protocols
== HttpProtocols.None) // TODO a test fails because it doesn't throw an exception in the right place
197
options.UseHttpServer(ServiceContext, application, options.
Protocols
, addAltSvcHeader);
216
options.UseHttp3Server(ServiceContext, application, options.
Protocols
, addAltSvcHeader);
KestrelServerOptions.cs (2)
372
writer.WriteString(nameof(listenOptions.
Protocols
), listenOptions.
Protocols
.ToString());
ListenOptions.cs (2)
110
/// Tracks whether <see cref="
Protocols
"/> has been set explicitly so that we can determine whether
119
/// The "Alt-Svc" header is automatically included with a response if <see cref="
Protocols
"/> has either
ListenOptionsHttpsExtensions.cs (2)
206
var middleware = new HttpsConnectionMiddleware(next, httpsOptions, listenOptions.
Protocols
, loggerFactory, metrics);
271
callbackOptions.HttpProtocols = listenOptions.
Protocols
;
TlsConfigurationLoader.cs (1)
113
httpsOptions, listenOptions.
Protocols
, _httpsLogger);