如何将 azure api 管理集成到节点 socket.io 应用程序

how to integrate azure api management to node socket.io application

我正在尝试将我们的 socket.io 应用程序与 Azure api 管理集成。但我无法找到任何解决方案,无论是否可能。任何人都可以帮助我或给我一些建议

更新: WebSockets 现在 supported in APIM. Currently, only passthrough is supported which creates a one-to-one mapping of the connection between the client and APIM, and the connection between APIM and the backend websocket server. Also, do note the limitations 存在。

感谢@restfulhead 在这里提出这个问题


不幸的是,截至目前,Azure API Management 不支持 WebSockets。 UserVoice 上有一个功能请求,您可以投票以获得更多关注。

今天,对于 WebSocket 应用程序,您可以使用 Azure Application Gateway which supports websockets

另一方面,Azure SignalR 也是一项出色的服务,可用于构建托管的、可扩展的、实时的 websocket 驱动的应用程序 but 更像是 NodeJS for C# 中 socket.io 的替代品。