def enter_room ( self , sid , room , namespace = None ) : return self . server . enter_room ( sid , room , namespace = namespace or self . namespace )
python socketio sid room userid
Enter a room .
def enter_room(self, sid, room, namespace=None):
        """Enter a room.

        The only difference with the :func:`socketio.Server.enter_room` method
        is that when the ``namespace`` argument is not given the namespace
        associated with the class is used.
        """
        return self.server.enter_room(sid, room,
                                      namespace=namespace or self.namespace)