Tokio Tungstenite

Tokio binding for Tungstenite, the Lightweight stream-based WebSocket implementation
Alternatives To Tokio Tungstenite
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Ejdb1,3681211 days ago48October 26, 202129mitC
:snowboarder: EJDB2 — Embeddable JSON Database engine C library. Simple XPath like query language (JQL). Websockets / Android / iOS / React Native / Flutter / Java / Dart / Node.js bindings. Docker image.
Tokio Tungstenite1,1192722913 days ago23July 13, 202217mitRust
Tokio binding for Tungstenite, the Lightweight stream-based WebSocket implementation
Disgord46672121 days ago174March 25, 202248bsd-3-clauseGo
Go module for interacting with the documented Discord's bot interface; Gateway, REST requests and voice
Ezyfox Server4531a month ago14October 01, 2022apache-2.0Java
A socket server (include SSL) supports realtime application, realtime game, MMORPG, messaging, chat and streaming data with TCP, UDP and Websocket
Websocket97633 years agoMay 27, 20216bsd-3-clauseJavaScript
websocket provides high- and low-level bindings for the browser's WebSocket API.
Kotlin Rxokhttp Websocket38
7 years agoKotlin
WebSocket bindings for Kotlin and RxKotlin based on OkHttp and Gson
Martini Sockets36
26 years ago2May 24, 20152mitGo
Websockets to channels binding for Martini
Eosws Go34
2 months ago3mitGo
Go bindings to the Streaming APIs.
4 years agozlibC++
Fork of node.js bindings for uWebSockets.
Purescript Websocket Simple26
124 years agoDecember 02, 20164otherPureScript
Simple Bindings to Websocket API for Purescript
Alternatives To Tokio Tungstenite
Select To Compare

Alternative Project Comparisons


Asynchronous WebSockets for Tokio stack.

MIT licensed Build Status



Add this in your Cargo.toml:

tokio-tungstenite = "*"

Take a look at the examples/ directory for client and server examples. You may also want to get familiar with Tokio if you don't have any experience with it.

What is tokio-tungstenite?

This crate is based on tungstenite-rs Rust WebSocket library and provides Tokio bindings and wrappers for it, so you can use it with non-blocking/asynchronous TcpStreams from and couple it together with other crates from Tokio stack.


As with tungstenite-rs TLS is supported on all platforms using native-tls or rustls through feature flags: native-tls, rustls-tls-native-roots or rustls-tls-webpki-roots feature flags. Neither is enabled by default. See the Cargo.toml for more information. If you require support for secure WebSockets (wss://) enable one of them.

Popular Websocket Projects
Popular Bindings Projects
Popular Networking Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.