How to assure reliable message delivery of websockets?

后端 未结 1 1243
一整个雨季
一整个雨季 2021-01-23 04:57

I am developing a simple server whose primary task is to push notifications to users like a typical Push Notification Server. I have used java websockets

相关标签:
1条回答
  • The websockets specification is really low level and does not provide a confirmation for send messages. You have to either implement this yourself as an application-level protocol or use an existing protocol on top of websockets.

    Stomp is a popular protocol which defines an "ACK" reply for consumed messages: Stomp specification

    0 讨论(0)
提交回复
热议问题