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: Request.requestInit=?,) => promise<Response.t>Parameters
string option< Request.requestInit >Return type
promise< 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: ( Request.t, ~init: Request.requestInit=?,) => promise<Response.t>