spinta

Crates.iospinta
lib.rsspinta
version0.1.5
sourcesrc
created_at2022-12-06 09:02:40.612315
updated_at2023-01-06 08:29:05.403862
descriptionServer-sent events client that works natively and on the web (WASM)
homepagehttps://github.com/fireyy/spinta
repositoryhttps://github.com/fireyy/spinta
max_upload_size
id731011
size46,801
Yuan Zhu (fireyy)

documentation

README

spinta

This is a simple Server-sent events client for Rust which can be compiled to both native and web (WASM).

Usage

let receiver = spinta::connect("http://example.com").unwrap();
while let Some(event) = receiver.try_recv() {
    println!("Received {:?}", event);
}
Commit count: 13

cargo fmt