Table of Contents

Method UseSsl

Namespace
Sisk.Core.Http.Hosting
Assembly
Sisk.Core.dll

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

HttpServerHostContextBuilder

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

HttpServerHostContextBuilder

The current HttpServerHostContextBuilder instance.