Mini chat for a simple website: AJAX or WebSocket?
I want to make a chat. The project is small, there will be no special loads. Which is better to use, websockets or ajax?
I'm leaning towards ajax because of the ease of implementation, let me?
1
Author: Александр Лиссов, 2020-05-29
1 answers
It is better to use websocket, but for a small project, you can still use Server-Sent Events than Ajax.
0
Author: uberchel, 2020-05-29 15:58:48