stopServer()

stopServer()

Overview

The stopServer() function stops the monitoring dashboard server, halting the real-time statistics service. This function is useful when you need to shut down the server programmatically.

Usage

monitoring.stopServer();

Description

  • stopServer() gracefully stops the server and disconnects any active connections.

  • Use this function to stop the server when it's no longer needed or to clean up resources.

After calling stopServer(), the dashboard will no longer be accessible at the configured URL.

Last updated