Expand description
Service to send HTTP-request to a server.
Re-exports§
pub use http::HeaderMap;
pub use http::Method;
pub use http::Request;
pub use http::Response;
pub use http::StatusCode;
pub use http::Uri;
Structs§
- Init options for
fetch()
function call. https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch - A service to fetch resources.
- A handle to control sent requests. Can be canceled with a
Task::cancel
call.
Enums§
- Type to set cache for fetch.
- Type to set credentials for fetch.
- Type to set mode for fetch.
- Type to set redirect behaviour for fetch.
- Type to set referrer for fetch.
- Type to set referrer policy for fetch.