The base URL for the HTTP requests.
Optional
headersOptional headers to include in all requests.
Optional
loggerOptional logger function to log request details.
Optional
responseOptional response type for the requests (e.g., json, blob).
Optional
retryOptional retry options for the requests.
Optional
backoffThe multiplier to apply to the delay between subsequent retries. Optional and must be between 1 and 2.
Optional
initialThe initial delay before the first retry attempt in milliseconds. Optional and must be between 100 and 5000 ms.
Optional
retries?: numberThe number of retry attempts. Optional and must be between 0 and 5.
Optional
timeoutOptional timeout for the requests in milliseconds.
Interface representing the properties for setting up the HTTP request handler.