#1 2022-11-24 10:16:11

radexpol
Member
From: Poland, Krk
Registered: 2019-11-29
Posts: 116

Websocket - message order

I have a web application that allows to login and starts listening to events from the server. How to deal with message order when the WebSocket sometimes loose connection to server? Does the server should queue the message to particular listener and send all data after reconnection?

Offline

#2 2022-12-05 10:46:49

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,225
Website

Re: Websocket - message order

Yes, the proper way in this case is to have the server queue the message again and retry later, if you want the message to be properly sent.
There is no built-in way to do it on the mORMot side.

Offline

Board footer

Powered by FluxBB