AngularFire 是否使用 Firebase 的 REST API? [英] Does AngularFire use Firebase's REST API?

查看:26
本文介绍了AngularFire 是否使用 Firebase 的 REST API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

AngularFire 服务是否在幕后使用 REST?

Does the AngularFire service use REST under the hood?

如果是这样,黑客计划就没有限制,因为 Firebase 定价页面 说:

If so is there no limits in the hacker plan, because the Firebase page on pricing says:

REST API 请求不计入您的连接限制

REST API requests don't count towards your connection limits

?

推荐答案

AngularFire 库在幕后使用 Firebase 的常规 JavaScript/Web SDK.每个客户端都保持与 Firebase 服务器的连接打开,因此将计入连接限制.

The AngularFire library uses Firebase's regular JavaScript/Web SDK under the hood. Each client keeps a connection open to Firebase servers, so will count towards the connection limits.

您可以通过创建一个最小的 AngularFire 客户端并在几个不同的浏览器中打开它来轻松地自己验证这一点.15 到 20 分钟后,您可以在 Firebase 信息中心的分析"标签中看到显示的连接.

You can easily verify this yourself by creating a minimal AngularFire client and opening it in a few different browsers. After 15-20 minutes you can see the connections showing up in the Analytics tab of your Firebase dashboard.

这篇关于AngularFire 是否使用 Firebase 的 REST API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆