installSessionHandler(tlsServer, namespace)

Enable TLS session resumption by installing listeners for events related to TLS sessions.

Name Type Description
tlsServer tls.Server

Instance of node's TLS server, e.g. https.Server.

namespace String

Optional namespace to distinguish between multiple TLS servers. The namespace must be unique within the application and same across all worker processes.


Documentation marker for explicit setup of the shared-state server in the master process. The initialization happens when this module is required, thus calling this function is entirely optional.