Registry / networking / fastwebsockets

fastwebsockets

JSON →
library0.10.0rscratesunverified

A fast RFC6455 WebSocket server implementation.

# Cargo.toml [dependencies] fastwebsockets = "0.10.0"
INSTALL
IMPORT
SIG · FASTWEBSOCKETS
F
fastwebsockets
networkingrustv0.10.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

WebSocket
✓ use fastwebsockets::WebSocket;

Connect to a WebSocket server.

use fastwebsockets::WebSocket; fn main() { let ws = WebSocket::new("ws://example.com").unwrap(); println!("WebSocket connected"); }
Debug
Known issues
gotchaRequires an async runtime like Tokio.
fix
Add `tokio = { version = "1", features = ["full"] }` and use `#[tokio::main]`.
affects: >=0.10.0
Upgrade
Version history
0.10.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
31 hits · last 30 days
node
28
OpenAI (training)
1
Resources
fastwebsockets — cargo add fastwebsockets · libregistry