KestrelServerOptions.ConfigureEndpointDefaults Metoda

Definice

Určuje akci konfigurace, která se má spustit pro každý nově vytvořený koncový bod. Opětovný voláním této metody nahradíte předchozí akci.

C#
public void ConfigureEndpointDefaults (Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> configureOptions);

Parametry

configureOptions
Action<ListenOptions>

Platí pro

Produkt Verze
ASP.NET Core 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0