【问题标题】:Is it possible to receive rpc-websocket json request in angular from python?是否可以从 python 接收角度的 rpc-websocket json 请求?
【发布时间】:2021-01-09 19:48:42
【问题描述】:

我的客户端是基于angular和electron的,服务器是用python语言写的。 我能够在 python-python 和 angular-angular 之间发送 json-rpc 请求。 我想使用 json-rpc websocket 从 python 到 angular 向客户端发送一个 json 对象。

我是一个菜鸟,所以不确定它是否可能或者是否有可用的库,因为我找不到任何跨平台的东西。任何帮助将不胜感激:)

【问题讨论】:

    标签: python angular websocket electron json-rpc


    【解决方案1】:

    有可能,似乎只有 python 3.x rpc websocket 支持。 寻找“jsonrpcclient [websockets]”。也有可用的服务器。

    在角度方面,我只能建议'rpc-websockets'

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-02-05
      • 1970-01-01
      • 2018-02-06
      • 2012-10-04
      • 1970-01-01
      相关资源
      最近更新 更多