Browse Source

auto commit

master
jfinn 2 years ago
parent
commit
81c5ef7f27
1 changed files with 19 additions and 0 deletions
  1. 19
    0
      wsps/consumers.py

+ 19
- 0
wsps/consumers.py View File

45
 		pass
45
 		pass
46
 
46
 
47
 
47
 
48
+class RoomListConsumer(
49
+	DispConsumer,
50
+	Mixins.DevMixin,
51
+	Mixins.LoneMixinA,
52
+	Mixins.AclTaskMixin,
53
+	Mixins.AconMixin,
54
+	Mixins.LoneMixinB,
55
+	Mixins.DevMroMixin,
56
+	AsyncWebsocketConsumer,
57
+	):
58
+	async def ws_conn0(self):
59
+		print("",end="",flush=True)
60
+		self.accept()
61
+	async def ws_disconn(self, close_code):
62
+		pass
63
+
64
+
65
+
66
+Mixins.RoomListConsumer = RoomListConsumer
48
 Mixins.ChatConsumer = ChatConsumer
67
 Mixins.ChatConsumer = ChatConsumer
49
 
68
 

Loading…
Cancel
Save