We find several places where server need to send data, without client initiate a request. eg : In a timeline, we need to continuously send data to front-end without front being asked for data every time. There fore, we use upgrade application layer protocol Http to Websocket when ever necessary.
So, that we need to understand How Websocket works in both client and server side. Please learn more about Websocket.
We find several places where server need to send data, without client initiate a request. eg : In a timeline, we need to continuously send data to front-end without front being asked for data every time. There fore, we use upgrade application layer protocol Http to Websocket when ever necessary.
So, that we need to understand How Websocket works in both client and server side. Please learn more about Websocket.
wg spec - https://websockets.spec.whatwg.org/