8000 GitHub - rstkit/spinta: A Rust Server-sent events client library that can be compiled to both native and the web (WASM).
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ spinta Public
forked from fireyy/spinta

A Rust Server-sent events client library that can be compiled to both native and the web (WASM).

License

Notifications You must be signed in to change notification settings

rstkit/spinta

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);
}

About

A Rust Server-sent events client library that can be compiled to both native and the web (WASM).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%
0