首页 > 解决方案 > 使用signalR进行订阅的天蓝色函数中的Graphql-net服务器

问题描述

寻找示例代码,让graphql-net 服务器位于azure 函数端点并进行订阅。Azure 函数不支持 WebSocket,因此考虑使用signalR

根据https://graphql-dotnet.github.io/docs/getting-started/subscriptions/graphql-net确实支持订阅但使用 Appollo graphql 订阅协议。

根据https://github.com/graphql-dotnet/server/issues/289它应该是可行的,但它已经可行了 3 年,我还没有找到更多细节。

谢谢你。

标签: graphqlazure-functionsgraphql-subscriptionsazure-signalr

解决方案


推荐阅读