Skip to content
/ ws.io-rs Public

A lightweight, async WebSocket framework inspired by Socket.IO — includes ws-io-core, ws-io-client, and ws-io-server crates.

License

Notifications You must be signed in to change notification settings

ws-io/ws.io-rs

Repository files navigation

ws.io-rs

zread

A WebSocket client/server implementation inspired by the Socket.IO pattern, supporting multiple packet codecs, high performance, and more.

Partial principles and code reference: socketoxide

Currently confirmed support for Axum; other HTTP servers based on Tower have not yet been tested.

Since development is not yet complete, documentation is currently unavailable. However, you may refer to the results from Zread or DeepWiki.

Please note that Zread and DeepWiki results may not be accurate.

The core functionality is now complete. I will proceed with developing the TS client and simultaneously integrate it into my own application.

The next features will be implemented only after my TS client development, integration, and testing are complete, unless immediate fixes are required.

Completed

  • base client/server
  • server emit
  • server namespace
  • server namespace emit
  • server shutdown
  • namespace shutdown
  • client emit and buffer
  • client auto reconnect
  • client event register
  • server event register
  • disconnect
  • multi packet codec
  • rooms
  • namespace broadcast/disconnect rooms
  • and more...

TODO

  • broadcast room but except self
  • other socket.io functionality
  • try to optimize the structure rooms
  • any todo comments
  • check errors and efficacy
  • docs
  • extract and merge duplicate code

About

A lightweight, async WebSocket framework inspired by Socket.IO — includes ws-io-core, ws-io-client, and ws-io-server crates.

Resources

License

Stars

Watchers

Forks