{"id":59499,"library":"hyper-tungstenite","title":"Hyper Tungstenite","description":"WebSockets for hyper servers using the tungstenite library.","status":"active","version":"0.19.0","language":"rust","source_language":null,"source_url":"https://github.com/de-vri-es/hyper-tungstenite-rs","tags":["websocket","hyper","tungstenite","async"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nhyper-tungstenite = \"0.19.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add hyper-tungstenite","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"HyperWebsocket","correct":"use hyper_tungstenite::HyperWebsocket;"}],"quickstart":{"code":"use hyper_tungstenite::HyperWebsocket;\nuse hyper::{Body, Request, Response};\n\nasync fn handle(req: Request<Body>) -> Result<Response<Body>, hyper::Error> {\n    let websocket = HyperWebsocket::from(req);\n    // handle websocket connection\n    Ok(Response::new(Body::empty()))\n}","lang":"rust","description":"Upgrades an HTTP request to a WebSocket connection using hyper and tungstenite."},"warnings":[{"fix":"Add tokio as a dependency and use #[tokio::main] or similar.","message":"Requires an async runtime like tokio or async-std.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'async':14 'hyper':1,5,12 'librari':10 'server':6 'tungstenit':2,9,13 'use':7 'websocket':3,11","created_at":"2026-06-16T17:05:51.604755+00:00","updated_at":"2026-06-16T17:05:51.604755+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/de-vri-es/hyper-tungstenite-rs","github":"https://github.com/de-vri-es/hyper-tungstenite-rs","docs":"https://docs.rs/hyper-tungstenite/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}