KestrelServerOptions.ConfigureEndpointDefaults Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>