Fetch
Values
fetch
Starts the process of fetching a resource from the network, returning a promise that is fulfilled once the response is available. Read more on MDN
let fetch: ( string, ~init: WebAPI.Request.requestInit=?,) => promise<WebAPI.Response.t>fetchWithRequest
Starts the process of fetching a resource from the network, returning a promise that is fulfilled once the response is available. Read more on MDN
let fetchWithRequest: ( WebAPI.Request.t, ~init: WebAPI.Request.requestInit=?,) => promise<WebAPI.Response.t>