| Crates.io | bevy_request |
| lib.rs | bevy_request |
| version | 0.1.0-alpha.1 |
| created_at | 2026-01-18 10:36:04.36713+00 |
| updated_at | 2026-01-18 10:48:29.319466+00 |
| description | A HTTP client library for bevy |
| homepage | https://github.com/xbwwj/bevy-request |
| repository | |
| max_upload_size | |
| id | 2052184 |
| size | 108,613 |
Bevy native http client.
This library is still in its early stage.
This is a minimal example which makes a get request to https://example.com.
fn get_example_com(mut commands: Commands) {
commands
// request as components
.spawn((
GET,
Url("https://example.com".to_string()),
GetContent::Text,
))
// response as entity events
.observe(|text: On<ResponseText>| {
println!("text:\n{}", text.text);
});
}