Omkar008 commited on
Commit
7b3ed15
1 Parent(s): 62bb4d3

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +1 -1
test.py CHANGED
@@ -311,7 +311,7 @@ async def test_websocket(websocket: WebSocket):
311
 
312
 
313
 
314
- await websocket.send_text("Successfully sent all the Data !")
315
 
316
  await event_generator(data)
317
 
 
311
 
312
 
313
 
314
+ await websocket.send_json({"message":"Successfully sent all the Data !"})
315
 
316
  await event_generator(data)
317