Module yew::services::fetch[][src]

Expand description

Service to send HTTP-request to a server.

Re-exports

pub use web_sys::RequestCache as Cache;
pub use web_sys::RequestCredentials as Credentials;
pub use web_sys::RequestMode as Mode;
pub use web_sys::RequestRedirect as Redirect;
pub use web_sys::Window;
pub use web_sys::WorkerGlobalScope;
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

FetchOptions

Init options for fetch() function call. https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch

FetchService

A service to fetch resources.

FetchTask

A handle to control sent requests.

Enums

Referrer

Type to set referrer for fetch.