Method UseSsl
UseSsl(ListeningHostSslOptions)
Configures SSL for the listening host using the specified options.
public HttpServerHostContextBuilder UseSsl(ListeningHostSslOptions sslOptions)
Parameters
sslOptionsListeningHostSslOptionsThe SSL options to apply to the listening host.
Returns
- HttpServerHostContextBuilder
The current HttpServerHostContextBuilder instance.
UseSsl(X509Certificate2)
Configures SSL for the listening host using the specified certificate.
public HttpServerHostContextBuilder UseSsl(X509Certificate2 certificate)
Parameters
certificateX509Certificate2The X509 certificate to use for SSL.
Returns
- HttpServerHostContextBuilder
The current HttpServerHostContextBuilder instance.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語