The following articles document the interfaces of the WebSocket API.
- The primary interface for connecting to a WebSocket server and then sending and receiving data on the connection.
- Used for opening a new WebSocket server. Required information is (port, origin, location).
- The event sent by the WebSocket object when the connection closes.
- The event sent by the WebSocket object when a message is received from the server.