WebSocket API Properties
This section describes the properties of the WebSocket object.
In this section
| Topic | Description |
|---|---|
|
Returns the type of data received by onmessage. | |
|
Returns the number of bytes of data (UTF-8 text and binary data) that have been queued using send() but at this time, have not yet been transmitted to the network | |
|
Returns the extensions the server has selected. | |
|
Returns the protocol that the server has selected. | |
|
Returns the state of the WebSocket connection. | |
|
Returns the resolved URL for the WebSocket connection. |
Show: