4 writes to Protocols
Aspire.Dashboard.Tests (1)
Integration\DashboardClientAuthTests.cs (1)
100
options.
Protocols
= HttpProtocols.Http2;
Aspire.Hosting (1)
Dashboard\DashboardServiceHost.cs (1)
158
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;
18 references to Protocols
Aspire.Dashboard (2)
DashboardWebApplication.cs (2)
728
""", name, address, string.Join(", ", connectionTypes), endpointConfiguration.IsHttps, endpointConfiguration.ListenOptions.
Protocols
);
730
if (!endpointConfiguration.IsHttps && connectionTypes.Contains(ConnectionType.Frontend) && endpointConfiguration.ListenOptions.
Protocols
== HttpProtocols.Http2)
Microsoft.AspNetCore.Server.Kestrel.Core (14)
DirectTlsEndpointOptions.cs (1)
146
/// sourced from <see cref="ListenOptions.
Protocols
"/> after the endpoint has been configured.
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)
381
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);
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls (2)
DirectTlsEndpointProtocolsSetup.cs (2)
10
/// Copies each <see cref="DirectTlsEndpoint"/>'s configured <see cref="ListenOptions.
Protocols
"/> onto the
25
directTlsEndpoint.Options.HttpProtocols = listenOptions.
Protocols
;