Method
HttpServerHostContextBuilder.UseSsl
UseSsl(ListeningHostSslOptions) #
Configures SSL for the listening host using the specified options.
public HttpServerHostContextBuilder UseSsl(ListeningHostSslOptions sslOptions)Parameters #
sslOptions ListeningHostSslOptions
The SSL options to apply to the listening host.
Returns #
The current HttpServerHostContextBuilder instance.
UseSsl(X509Certificate2) #
Configures SSL for the listening host using the specified certificate.
public HttpServerHostContextBuilder UseSsl(X509Certificate2 certificate)Parameters #
certificate X509Certificate2
The X509 certificate to use for SSL.
Returns #
The current HttpServerHostContextBuilder instance.
UseSsl() #
Configures SSL for the listening host using a trusted development certificate for localhost and 127.0.0.1.
public HttpServerHostContextBuilder UseSsl()Returns #
The current HttpServerHostContextBuilder instance.