Interface IApiConfig

Interface representing the configuration for an API request.

interface IApiConfig {
    agent?: boolean | Agent | ((parsedUrl: URL) => undefined | boolean | Agent);
    body: BodyInit | MultipartStream;
    compress: boolean;
    headers: HeadersInit;
    method: string;
}

Properties

agent?: boolean | Agent | ((parsedUrl: URL) => undefined | boolean | Agent)
body: BodyInit | MultipartStream
compress: boolean
headers: HeadersInit
method: string