Dela via


KestrelServerOptions.ConfigureHttpsDefaults Method

Definition

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

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

Parameters

Applies to