Optionalfetchfetch - The standard fetch
OptionalheadersHeaders will be merged with
{ "content-type": "application/json" }
OptionallogLog level:
0: silent1: ok/fail loggingOptionalprocessProcess maybe-thrown error originated either from fetch function
invokation or from its response.json() parsing
OptionalprocessProcess request before actual http call
OptionalprocessProcess ok/failed response just after http response
OptionalrequestBasic request options to supply to fetch
OptionalthrowFlag to throw error within the catch block, by default we return a normalised error result ResultFail
OptionaltimeoutTimeout in ms, if falsy there is no timeout
Optionally override the
fetchfunction