WebSocket is based on HTML 5 server Push Technology. The communication request is initiated by the publisher or central server following a publish/subscribe model. This is unlike the request/response model that HTTP relies on, which has drawbacks such as request time-out and browser refresh. In the case of WebSocket, a client subscribes to various information channels. If new content is available in the channel, it is pushed to the clients. This method has the following advantages:

  • Simultaneous bi-directional communication
  • Lesser browser reloads
  • Ease in creating applications that handle real-time data

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy