ewebsock 0.2.0

WebSocket client that works natively and on the web (WASM)
Documentation

A WebSocket client library that can be compiled to both native and the web (WASM).

Usage:

let (mut sender, receiver) = ewebsock::connect("ws://example.com").unwrap();
sender.send(ewebsock::WsMessage::Text("Hello!".into()));
while let Some(event) = receiver.try_recv() {
println!("Received {:?}", event);
}