V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Linvas
V2EX  ›  GraphQL

请教一个 graphql subscriptions 问题

  •  
  •   Linvas · 290 天前 · 366 次点击
    这是一个创建于 290 天前的主题,其中的信息可能已经有所发展或是发生改变。

    最近用 rust 写一个服务端的东西,用上了 graphql ,但是发现好像 subscriptions 无法双向通信,只能建立订阅后,只能拿数据,无法推送数据。

    graphql subscriptions 是不是无法像 websocket 那样建立 ws 连接后还继续 push mutation 数据到服务器?

    有没有大神交流一下 async_graphql 的使用?

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2918 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 07:58 · PVG 15:58 · LAX 00:58 · JFK 03:58
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.