1 write to ListenOptions
Microsoft.AspNetCore.Server.Kestrel.Core (1)
EndpointConfiguration.cs (1)
18
ListenOptions
= listenOptions ?? throw new ArgumentNullException(nameof(listenOptions));
8 references to ListenOptions
Aspire.Dashboard (4)
DashboardWebApplication.cs (4)
631
endpointConfiguration.
ListenOptions
.UseConnectionTypes(connectionTypes);
640
""", name, address, string.Join(", ", connectionTypes), endpointConfiguration.IsHttps, endpointConfiguration.
ListenOptions
.Protocols);
642
if (!endpointConfiguration.IsHttps && connectionTypes.Contains(ConnectionType.Frontend) && endpointConfiguration.
ListenOptions
.Protocols == HttpProtocols.Http2)
692
var endpoint = endpointConfiguration.
ListenOptions
.IPEndPoint!;
Microsoft.AspNetCore.Server.Kestrel.Core (1)
EndpointConfiguration.cs (1)
29
/// Gets the endpoint <see cref="
ListenOptions
"/>.
Microsoft.AspNetCore.Server.Kestrel.Tests (3)
KestrelConfigurationLoaderTests.cs (3)
183
Assert.Equal(HttpProtocols.Http1, opt.
ListenOptions
.Protocols);
1350
Assert.Equal(expected, opt.
ListenOptions
.Protocols);
1420
Assert.Equal(expected, opt.
ListenOptions
.Protocols);