We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fe47f4 commit 0123936Copy full SHA for 0123936
pywebio/platform/fastapi.py
@@ -97,7 +97,7 @@ async def websocket_endpoint(websocket: WebSocket):
97
if text:
98
handler.send_client_data(text)
99
if binary:
100
- handler.send_client_data(text)
+ handler.send_client_data(binary)
101
except WebSocketDisconnect:
102
handler.notify_connection_lost()
103
break
0 commit comments