HttpServer.getWebSocketManager

Gets the server's websocket manager, used to register new websocket connections, or to broadcast a message to all connected websockets.

class HttpServer
getWebSocketManager
()

Return Value

The websocket manager, or null if enableWebSockets is set to false in this server's configuration.