Expand description
Wrapper around the fetch
API.
Example
let resp = Request::get("/path")
.send()
.await
.unwrap();
assert_eq!(resp.status(), 200);
Structs
The AbortSignal
class.
The FormData
class.
A wrapper around web_sys::Headers
.
The ObserverCallback
dictionary.
The ReadableStream
class.
A wrapper round web_sys::Request
: an http request to be used with the fetch
API.
Enums
Valid request methods.
The ReferrerPolicy
enum.
The RequestCache
enum.
The RequestCredentials
enum.
The RequestMode
enum.
The RequestRedirect
enum.
The ResponseType
enum.