(self, eio_sid, namespace)
return sid
Register a client connection to a namespace.
Register a client connection to a namespace.
Register a client connection to a namespace .
def connect(self, eio_sid, namespace):
        """Register a client connection to a namespace."""
        sid = self.server.eio.generate_id()
        try:
            self.enter_room(sid, namespace, None, eio_sid=eio_sid)
        except ValueDuplicationError:
            # already connected
            return None
        self.enter_room(sid, namespace, sid, eio_sid=eio_sid)
        return sid
def connect ( self , eio_sid , namespace ) : sid = self . server . eio . generate_id ( ) try : self . enter_room ( sid , namespace , None , eio_sid = eio_sid ) except ValueDuplicationError : # already connected return None self . enter_room ( sid , namespace , sid , eio_sid = eio_sid ) return sid