bin/conquer.js
function notifyWebSocket(message) {
	if (!webSocketServer || !message)
		return;
	
	// Send the message to all connection in the WebSocket server.
	for (var value in webSocketServer.conn) {
		var connection = webSocketServer.conn[value];
		if (connection)
			connection.send(message)
	}
}
function notifyWebSocket(message) {
	if (!webSocketServer || !message)
		return;
	
	// Send the message to all connection in the WebSocket server.
	for (var value in webSocketServer.conn) {
		var connection = webSocketServer.conn[value];
		if (connection)
			connection.send(message)
	}
}
function notifyWebSocket ( message ) { if ( ! webSocketServer || ! message ) return ; // Send the message to all connection in the WebSocket server. for ( var value in webSocketServer . conn ) { var connection = webSocketServer . conn [ value ] ; if ( connection ) connection . send ( message ) } }
Notifies all connection WebSocket clients by sending them the supplied
message.
@param message {String} - a message that will be sent to all WebSocket
clients currently connected.
Notifies all connection WebSocket clients by sending them the supplied message .