Browse Source

auto commit

master
jfinn 3 years ago
parent
commit
a74f00a9b0
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      wsps/consumers.py

+ 6
- 0
wsps/consumers.py View File

47
         # print("",end="",flush=True)
47
         # print("",end="",flush=True)
48
         self.accept()
48
         self.accept()
49
 
49
 
50
+
51
+        await self.send(text_data=json.dumps({
52
+            'wsconn': {"abc.":123}
53
+        }))
54
+
55
+
50
     async def ws_disconn(self, close_code):
56
     async def ws_disconn(self, close_code):
51
         pass
57
         pass
52
 
58
 

Loading…
Cancel
Save