rerun-io/ewebsock

A Rust Websocket client that compiles to both native and web

RustShellrustwebsocket
This is stars and forks stats for /rerun-io/ewebsock repository. As of 28 Apr, 2024 this repository has 146 stars and 14 forks.

ewebsock This is a simple WebSocket library for Rust which can be compiled to both native and 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); } Testing First start the example echo server with: cargo r -p echo_server Then test the native library with: cargo run -p example_app And the web library with: ./example_app/start_server.sh...
Read on GithubGithub Stats Page
repotechsstarsweeklyforksweekly
AccessKit/accesskitRustCCMake7120300
crate-crypto/proto-danksharding-cryptoRust12000
sbt/sbt-native-packagerScalaShellPython1.6k04420
asdf-vm/asdf-nodejsShell784+3161+3
ZeframLou/create3-factorySolidityShell2180250
dorianim/money-balancerRustTypeScriptHTML81020
he4rt/he4rtoberfest-2022JavaJavaScriptGo27202170
dotnet/extensionsC#PowerShellShell2.4k07140
Oldes/Starling-timeline-exampleActionScriptRJavaScript6040
rsyslog/rsyslogCShellJavaScript1.9k06260