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

查看:81
本文介绍了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天全站免登陆