emilk / ehttp

Minimal Rust HTTP client for both native and WASM
Apache License 2.0
324 stars 30 forks source link

Add streaming example #29

Closed emilk closed 1 year ago

emilk commented 1 year ago

I also added the Cargo.lock file because:


Web test with nerfed network speed:

ehttp

jprochazk commented 1 year ago

I think example_eframe/setup_web.sh needs a bump for the version of wasm-bindgen-cli, ehttp uses 0.2.87

jprochazk commented 1 year ago

Maybe it would also make sense to mention somewhere in the example that you might have to disable caching, throttle your download speed, or download a large file to see the data being streamed in