C# WebSocket Server needs example of sending unsolicited messages to the client
#31 519 ouverte le 5 janv. 2024
Métriques du dépôt
- Stars
- (8 900 stars)
- Métriques de merge PR
- (Merge moyen 7j 3h) (147 PRs mergées en 30 j)
Description
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_server
What specific section or headline is this issue about?
N/A - Missing
What information was incorrect, unhelpful, or incomplete?
This article skips / stops short of arguably the most important functionality of websockets: THE ABILITY TO SEND "UNSOLICITED" MESSAGES TO THE CLIENT. Only the initial handshake and message RECEIVING is covered from the server-perspective. No sending.
What did you expect to see?
The guide needs to be completed with a piece of example code that takes data from the server environment (or from direct admin user input at the server) and passes said data to the client. The example C# program currently provided does not in any way facilitate or allow for this critical functionality.
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
MDN metadata
- Folder:
en-us/web/api/websockets_api/writing_websocket_server - MDN URL: https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_server
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/api/websockets_api/writing_websocket_server/index.md
- Last commit: https://github.com/mdn/content/commit/0bced7ea55d93bc774e632611353bd76b6269c9e
- Document last modified: 2023-11-23T07:58:58.000Z