Commit acda54f
committed
Fix WebSocket server to use Text frame type for text messages
Changed the frame type from 'Binary' to 'Text' when sending text/JSON messages from the server. This ensures compliance with the WebSocket protocol specification and prevents clients from misinterpreting text data as binary.1 parent 5bf7dc5 commit acda54f
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments