Server-Sent Events (SSE)
A simple alternative to web sockets, if you only need to send data from the server.
https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events
With server-sent events, it's possible for a server to send new data to a web page at any time, by pushing messages to the web page.