Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

socketioxide

> 编程语言
Open source

A socket.io server implementation in Rust that integrates with the Tower ecosystem and the Tokio stack.

1.6K stars0 likes0 views
WebsiteGitHub

About

A socket.io server implementation in Rust that integrates with the Tower ecosystem and the Tokio stack.

Socketioxide

A socket.io server implementation in Rust that integrates with the Tower ecosystem and the Tokio stack. It integrates with any server framework based on tower like Axum, Warp, Salvo, Viz or Hyper. Add any other tower based middleware on top of socketioxide such as CORS, authorization, compression, etc with tower-http.

Features

  • Integrates with:
    • Axum: echo example
    • Warp: echo example
    • Hyper: echo example
    • Salvo: echo example
    • Viz: echo example
  • Out of the box support for any other middleware based on tower:
    • CORS
    • Compression
    • Authorization
  • Effortless horizontal scaling with plugable adapters:
    • Redis / Valkey
    • MongoDB
    • PostgreSQL
  • Remote cluster communication with Socketioxide-emitter
  • Namespaces and Dynamic Namespaces
  • Rooms
  • Ack and emit with ack
  • Binary packets
  • Polling & Websocket transports
  • Common (default) & Msgpack parsers
  • Extensions to add custom data to sockets
  • Memory efficient http payload parsing with streams
  • Flexible axum-like API to handle events. With extractors to extract data from your handlers
  • Well tested with the official end to end test-suite
  • All Socket.io versions supported :
    • protocol v5 : socket.io js from v3.0.0..latest, it is enabled by default
    • protocol v4 : based on engine.io v3, under the feature flag v4, (socket.io js from v1.0.3..latest)

Examples

Chat app (see full example here)
…
Echo implementation with Axum
…
Other examples are available in the example folder

Contributions and Feedback / Questions

Any contribution is welcome, feel free to open an issue or a PR. If you want to contribute but don't know where to start, you can check the issues.

If you have any question or feedback, please open a thread on the discussions page.

License

This project is licensed under the MIT license.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustaxumhyperrustsocket-io

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言