method Server.prototype.setSecureContext
Usage in Deno
import { Server } from "node:tls";
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.
options: SecureContextOptions
An object containing any of the possible properties from the createSecureContext options
arguments (e.g. key
, cert
, ca
, etc).
void