Linvas
V2EX  ›  GraphQL

请教一个 graphql subscriptions 问题

  •  
  •   Linvas · Jul 12, 2023 · 1646 views
    This topic created in 1108 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   ·   Solana   ·   5115 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 09:30 · PVG 17:30 · LAX 02:30 · JFK 05:30
    ♥ Do have faith in what you're doing.