The configuration for the request, extending RequestInit. This includes method, headers, body, and other options.
Optional
onCallback function to track download progress. This function will be called with the number of bytes loaded and the total size of the response.
Optional
retriesNumber of times to retry the request if it fails. If set, the request will be retried this many times before failing.
Optional
timeoutOptional timeout for the request in milliseconds. If set, the request will be aborted if it takes longer than this time.
The URL for the request. This is the endpoint to which the request will be sent. It can be a full URL or a relative path if a base URL is set in the FetcherConfig.
Options for the Fetch transport. This interface defines the options for making HTTP requests using the Fetch API. It includes the URL, request configuration, optional timeout, retries, and a callback for download progress.