Type of the path parameters.
Type of the query parameters.
Type of the response body.
Optional
endpointOptional template for the endpoint URL.
Optional
headersOptional headers to include in the request.
Optional
loggerOptional logger function to log request details.
Schema for validating the path parameters.
Schema for validating the query parameters.
Optional
responseOptional schema to validate the response body.
Optional
responseOptional response type for the request (e.g., json, blob).
Optional
retryOptional retry options for the request.
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 request in milliseconds.
Interface representing the properties for a factory function to create HTTP requests without a request body.