code: function sendSocketMessage(message) {
      clients.forEach(function (client) {
        if (client.readyState === WebSocket.OPEN) {
          client.send(message || 'refresh', function (err) {
            if (err) {
              npmlog.error(err);
            }
          });
        }
      });
    }
docs: send web socket messsage to client