bevy_ehttp
A ehttp Bevy Plugin that works both on native and on WASM.
Simple request will invoke RequestCompleted(pub Result<Response, String>) event once completed.
There is also option to call typed request that will allow to deserialize response to given type by using RequestBundle<T>. More details available in typed.rs example.
Example
use ;
use *;
Thanks
Big thanks to the creators of the Bevy Engine and to the foxzool user for creating bevy_http_client that this plugin is based on.
License
bevy_ehttp is dual-licensed under MIT and Apache 2.0 at your option.
Bevy compatibility table
| Bevy version | Crate version |
|---|---|
| 0.13 | 0.2 |
| 0.12 | 0.1 |