(self, sid, namespace=None)
return self.manager.get_rooms(sid, namespace)
Return the rooms a client is in.

        :param sid: Session ID of the client.
        :param namespace: The Socket.IO namespace for the event. If this
                          argument is omitted the default namespace is used.
Return the rooms a client is in.
Return the rooms a client is in .
def rooms(self, sid, namespace=None):
        """Return the rooms a client is in.

        :param sid: Session ID of the client.
        :param namespace: The Socket.IO namespace for the event. If this
                          argument is omitted the default namespace is used.
        """
        namespace = namespace or '/'
        return self.manager.get_rooms(sid, namespace)
def rooms ( self , sid , namespace = None ) : namespace = namespace or '/' return self . manager . get_rooms ( sid , namespace )