Universal-WS
Websockets Everywhere
A lightweight WebSocket library with authentication, heartbeat, and Remote Procedure Call that works from the browser as well as in node.js.
- Send and receive messages and data.
- Store context for each individual client.
- Make and handle requests.
- Ensure the response to a request was received.
- Automatic heartbeats ensure the connection is open.
- Compress data with the WebSocket Per-Message Compression Extension.
- Authenticate clients on connection.
- Add or remove individual handlers for when a connection is established or closed and when receiving messages or requests.