Module seed::fetch

source ·
Expand description

High-level interface for web_sys HTTP requests. https://rustwasm.github.io/wasm-bindgen/examples/fetch.html See https://rustwasm.github.io/wasm-bindgen/reference/js-promises-and-rust-futures.html https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.Request.html https://rustwasm.github.io/wasm-bindgen/api/wasm_bindgen_futures/ https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.Response.html

Structs

Higher-level wrapper for web_sys::RequestInit. https://rus twasm.github.io/wasm-bindgen/api/web_sys/struct.RequestInit.html#method.mode

Enums

https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods

Functions

A wrapper over web_sys’s fetch api, to simplify code https://rustwasm.github.io/wasm-bindgen/examples/fetch.html
A wrapper for fetch that serializes the payload