mdn/content

C# WebSocket Server needs example of sending unsolicited messages to the client

Open

#31,519 创建于 2024年1月5日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Markdown (22,427 fork)batch import
Content:WebAPIarea: WebSocketshelp wanted

仓库指标

Star
 (8,900 star)
PR 合并指标
 (平均合并 7天 3小时) (30 天内合并 147 个 PR)

描述

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

贡献者指南