setSecureContext

The server.setSecureContext() method replaces the secure context of an existing server. Existing connections to the server are not interrupted.

Since

v11.0.0

Parameters

options

An object containing any of the possible properties from the {@link createSecureContext} options arguments (e.g. key, cert, ca, etc).