Answer the question
In order to leave comments, you need to log in
Which protocol to choose for a cross-browser messenger?
Tell me how to choose a protocol for a cross-browser messenger, so that on its basis you can write a communication utility that would support any browser, would not slow down, would work stably with a large number of connections and poor communication.
Where to look, what parameters to rely on?
Answer the question
In order to leave comments, you need to log in
The protocol is websocket.
Bad connection - Don't forget to control how packets are sent from the browser. (try-catch)
Auto-recovery of the connection after the loss of the Internet connection is also done here.
Where to look? (conceptual): websocket examples and event handling in js.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question