FCM - 下游消息和上游消息的区别 [英] FCM - Difference between Downstream Message and Upstream Message
问题描述
我无法理解下游消息和上游消息FCM上的细节没有很好的解释。我试图在网上搜索,但我没有运气。请帮助我,因为我是编码新手。
为了说明这一点,下游消息传递您的应用程序服务器朝向客户端应用但是,对于FCM的情况,您可以在没有App Server的情况下发送下游消息,或者通过使用 Firebase Console 。
$ b 上游消息传递反过来,客户端应用程序正在向您的应用程序服务器发送消息。为此,应用程序服务器是必需的。
请记住,FCM服务器仍在流程中( middle man )处理您的邮件在下游和上游排队。
I have been studying materials related to Web push notification from FCM Messenger. While I came across downstream message and upstream message, apparently HTTP server only allows downstream message while XMPP server allows upstream message.
I have trouble understanding the difference between downstream and upstream message and the details are not well explained on FCM. I tried to search online but I have no luck. Please do help me as I am new to coding.
To put it on Layman's terms, Downstream Messaging is when you are sending a push notification from your App Server towards the Client App. However for FCM's case, you may send a downstream message without an App Server or by sending a usual curl request by making use of the Firebase Console.
While Upstream Messaging is the reverse, the Client App is sending a message towards your App Server. For this, the App Server is a requirement.
Do keep in mind that the FCM server is still in the flow (the middle man) that handles the queuing of your messages for both downstream and upstream.
这篇关于FCM - 下游消息和上游消息的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!