Module gloo_net::http

source ·
Available on crate feature http only.
Expand description

Wrapper around the fetch API.

Example

let resp = Request::get("/path")
    .send()
    .await
    .unwrap();
assert_eq!(resp.status(), 200);

Structs

Traits

  • trait which allow consuming self into a raw web_sys::Response