code: def publish(self, name, data, userList):
          
          # Publish data to all room users
          self.broadcast(userList, {
              "name": name,
              "data": SockJSDefaultHandler._parser.encode(data)
          })
docs: Publish data