Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2023-11-28 17:07:29 -08:00
parent 098e1fa97d
commit 243ed3222a
3 changed files with 307 additions and 307 deletions

View File

@ -153,7 +153,7 @@ class WebSocket:
"""
for message in self.ws:
yield message
return WebSocketResponse.from_dict(json.loads(message))
def send(self, data: WebSocketRequest):
"""Send data to the websocket."""