Linvas
V2EX  ›  GraphQL

请教一个 graphql subscriptions 问题

  •  
  •   Linvas · Jul 12, 2023 · 1801 views
    This topic created in 1163 days ago, the information mentioned may be changed or developed.

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

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

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

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2899 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 14:58 · PVG 22:58 · LAX 07:58 · JFK 10:58
    ♥ Do have faith in what you're doing.