HTTPServerContext.tlsContext

Returns the TLS context associated with the listener.

For non-HTTPS listeners, null will be returned. Otherwise, if only a single virtual host has been added, the TLS context of that host's settings is returned. For multiple virtual hosts, an SNI context is returned, which forwards to the individual contexts based on the requested host name.

class HTTPServerContext
@safe @property
tlsContext
()

Meta