Alokai

HTTPClient

A customizable HTTP client function for making HTTP requests.

This type represents a flexible interface for HTTP clients within the SDK, allowing for customization and substitution of different HTTP request mechanisms (e.g., Fetch API, Axios).

type HTTPClient = (
url: string,
params: unknown[],
config?: ComputedConfig) => Promise<any>;

Referenced Types

On this page