【问题标题】:Connect an independent Ionic2+Angular2 based app with a Meteor server via DDP client library通过 DDP 客户端库将基于 Ionic2+Angular2 的独立应用程序与 Meteor 服务器连接起来
【发布时间】:2017-07-03 22:11:56
【问题描述】:

我有一个独立的基于 Ionic2+Angular2 的移动应用程序。另一方面,我还有一个现有的 Meteor 服务器正在运行。我想在我的 Ionic2+Angular2 应用程序中使用 Meteor Server 的服务。有没有办法通过一些 Meteor DDP 客户端库创建连接?

【问题讨论】:

    标签: angular meteor ionic-framework ionic2 ddp


    【解决方案1】:

    这很好用:https://github.com/thomasgazzoni/rxjs-ddp-client

    我们通常使用自定义 DDP 实现创建一个全球服务,轻松订阅出版物。

    你只需通过 websocket url 连接到你的 Meteor 服务器,默认一般是

    ws://127.0.0.1:3000/websocket/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-04-06
      • 1970-01-01
      • 2015-11-19
      • 1970-01-01
      • 1970-01-01
      • 2020-12-28
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多