Registry / web-framework / actix-ws

actix-ws

JSON →
library0.4.0rscratesunverified

WebSockets for Actix Web, without actors.

# Cargo.toml [dependencies] actix-ws = "0.4.0"
INSTALL
IMPORT
SIG · ACTIX-WS
A
actix-ws
web-frameworkrustv0.4.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 actix_ws::WebSocket;

Creates a new WebSocket connection for Actix Web.

use actix_ws::WebSocket; fn main() { let ws = WebSocket::new(); println!("WebSocket created"); }
Debug
Known issues
gotchaRequires an async runtime like Tokio or actix-rt.
fix
Add `tokio` or `actix-rt` as a dependency and use `#[actix_web::main]` or `#[tokio::main]`.
affects: >=0.4.0
Upgrade
Version history
0.4.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
63 hits · last 30 days
node
52
OpenAI (training)
2
Resources
actix-ws — cargo add actix-ws · libregistry