deno.com
method Server.prototype.setSecureContext
#Server.prototype.setSecureContext(options: SecureContextOptions): void

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

Parameters #

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

Return Type #

void