The authentication provider to use for requests
The logger to use for logging messages
The timeout for requests in milliseconds
Dynamically resolves an URL based on the version, path/endpoint, and parameters
The API_VERSION to use
The path/endpoint to request
Optional
params: Record<string, string> | URLSearchParamsThe parameters (URLSearchParams
) to include in the request
The resolved URL
Perform a POST request to the CFTools API
The URL to request
The body of the request
Whether the request is for authentication or not
The parsed (JSON) response from the request
Perform a PUT request to the CFTools API
The URL to request
The body of the request
Whether the request is for authentication or not
The parsed (JSON) response from the request
Perform a request to the CFTools API
The URL to request
The options for the request
Whether the request is for authentication or not
The parsed JSON response from the request
Resolves the headers for a request based on the current state of the client
Initial headers for the request
Whether the request is for authentication or not
The resolved headers for the request
Resolves the request options for a request depending on the current state of the client
The URL to request
The options for the request
Whether the request is for authentication or not
The resolved request options
Creates a new request client to interact with the CFTools API