• callback {Function} A listener callback that will be registered to listen for the server instance’s 'close' event.
    • Returns: {tls.Server}

    The server.close() method stops the server from accepting new connections.

    This function operates asynchronously. The 'close' event will be emitted when the server has no more open connections.