1 unstable release
0.1.0 | Sep 27, 2024 |
---|
#118 in WebSocket
56 downloads per month
Used in axum-socket-io
18KB
354 lines
web-socket-io
It provides a robust framework for real-time communication over WebSocket, inspired by Socket.IO. It simplifies the process of sending and receiving messages while offering built-in support for cancellation and timeout functionalities.
Features
- Request/Response: clients to send requests and receive responses from the server.
- Cancellation: mechanisms to cancel ongoing operations on requests.
- Bi-directional Notifications: allowing both clients and servers to notify each other of events instantly. similar to Socket.IO
Learn More
- Tutorial - Step-by-step guide to get you started.
- Protocol Design - Overview of the protocol used for communication.
License
This project is licensed under the MIT License.
Dependencies
~2.4–8MB
~55K SLoC