consumer
This commit is contained in:
parent
546facff02
commit
223d692d11
@ -10,7 +10,8 @@ from .models import Room
|
|||||||
|
|
||||||
class RoomConsumer(AsyncWebsocketConsumer):
|
class RoomConsumer(AsyncWebsocketConsumer):
|
||||||
async def connect(self):
|
async def connect(self):
|
||||||
|
print('START CONNECT')
|
||||||
|
self.accept()
|
||||||
self.room_id = self.scope['url_route']['kwargs']['room_id']
|
self.room_id = self.scope['url_route']['kwargs']['room_id']
|
||||||
self.waiter = None
|
self.waiter = None
|
||||||
self.clientId = str(uuid4())
|
self.clientId = str(uuid4())
|
||||||
|
Loading…
Reference in New Issue
Block a user