| Crates.io | websock-wasm-mux |
| lib.rs | websock-wasm-mux |
| version | 0.2.0 |
| created_at | 2026-01-18 02:18:27.374305+00 |
| updated_at | 2026-01-18 02:18:27.374305+00 |
| description | WebAssembly WebSocket multiplexing transport (WebTransport-like streams over WebSocket). |
| homepage | |
| repository | https://github.com/foctal/websock |
| max_upload_size | |
| id | 2051605 |
| size | 32,956 |
A minimal WebSocket library for native and WebAssembly.
websock: top-level facade that selects native (websock-tungstenite) or WASM (websock-wasm).websock-proto: shared protocol types and frame handling.websock-tungstenite: native transport powered by tokio + tungstenite (optional TLS via rustls).websock-wasm: browser transport using the WebSocket API.websock-wasm-demo: small browser demo.[dependencies]
websock = "0.1"
If you want to depend on a specific transport directly, use the crates
above instead of websock.
See examples.
The websock-wasm-demo crate contains a small browser demo that connects to an echo server.