Web Sockets is a next-generation bidirectional communication technology for web applications that operates over a single socket and is exposed via a JavaScript interface in HTML 5 compliant browsers.
The following are the attributes:
Attribute | Description |
---|---|
Socket.readyState | The readonly attribute readyState represents the state of the connection. It can have the following values -
|
Socket.bufferedAmount | The readonly attribute bufferedAmount represents the number of bytes of UTF-8 text that have been queued using send() method. |