A
A
Antonio Solo2019-08-15 23:46:57
Push technologies
Antonio Solo, 2019-08-15 23:46:57

How to update data on a page using push?

It is required to display the current state of the system from the server on the user's screen in the browser (for example, a new message has arrived). that is, I need an event to be generated on the server, which would be sent to all browsers of users who have now opened the site.
How to do it via push? what libraries to use?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ihor Bratukh, 2019-08-15
@solotony

Is it push? Maybe it's better to use websockets?

S
Saint739, 2019-08-16
@Saint739

Additionally, you can look at socket.io and PubSub

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question