You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
457 B

from socketio.base_manager import BaseManager
class SdManager(BaseManager):
"""Currently, there is no need to use custom manager
"""
def initialize(self, server):
super().initialize(server)
def connect(self, sid, namespace):
"""Register a client connection to a namespace.
and set the django request object?
"""
self.enter_room(sid, namespace, None)
self.enter_room(sid, namespace, sid)