#ws #sockets #bidirectional #server #clients #socket-io

axum-socket-io

A protocol for event-driven, bi-directional communication between clients and servers

1 unstable release

0.1.0 Sep 27, 2024

#179 in WebSocket

Download history 97/week @ 2024-09-23 32/week @ 2024-09-30 4/week @ 2024-10-07 8/week @ 2024-10-14

55 downloads per month

MIT license

25KB
463 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

~7–13MB
~163K SLoC