websocket
This commit is contained in:
parent
b6393491e3
commit
4d72943208
@ -23,6 +23,7 @@ class WebsocketUtil:
|
||||
# 等待连接
|
||||
msg = ws.receive()
|
||||
# 存储ws连接对象
|
||||
print("存储ws连接对象")
|
||||
self.active_connections.append(ws)
|
||||
if id in self.active_connections_dist:
|
||||
self.active_connections_dist[id].append(ws)
|
||||
|
Loading…
Reference in New Issue
Block a user