KestrelServerOptions.ConfigureEndpointDefaults Method

Definition

Specifies a configuration Action to run for each newly created endpoint. Calling this again will replace the prior action.

public:
 void ConfigureEndpointDefaults(Action<Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^> ^ configureOptions);
public void ConfigureEndpointDefaults (Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> configureOptions);
member this.ConfigureEndpointDefaults : Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> -> unit
Public Sub ConfigureEndpointDefaults (configureOptions As Action(Of ListenOptions))

Parameters

configureOptions
Action<ListenOptions>

Applies to