Websocket 使用哪种消息传递协议?

Websocket 使用哪种消息传递协议?,websocket,chat,messaging,mqtt,Websocket,Chat,Messaging,Mqtt,我将在我的应用程序中集成聊天模块。这是一个移动应用程序,前端在swift中,后端在springboot中。因此,我的聊天模块将具有以下功能:) 我知道这些功能在所有现代移动应用程序中都很常见 我对消息传递协议非常陌生,请为我推荐一个最适合我要求的协议 任何建议都会很有帮助,谢谢 你可以找到一个比较 1) There will be a one to one chat,not a group chat 2) i have to send push notification to user when

我将在我的应用程序中集成聊天模块。这是一个移动应用程序,前端在swift中,后端在springboot中。因此,我的聊天模块将具有以下功能:)

我知道这些功能在所有现代移动应用程序中都很常见

我对消息传递协议非常陌生,请为我推荐一个最适合我要求的协议

任何建议都会很有帮助,谢谢

你可以找到一个比较

1) There will be a one to one chat,not a group chat
2) i have to send push notification to user when user goes offline or app closed
3) i have to show online users list on user's dashboard
4) i have to store messages in database
5) User can send images,videos in chat