IClientOptions: {
    abortController?: AbortController;
    body?: Record<string, any> | string | Buffer;
    credentialsMode?: CredentialsMode;
    enableRetry?: boolean;
    headers: Record<string, any>;
    includeOriginalRequest?: boolean;
    maskSensitiveHeaderData?: boolean;
    method: MethodType;
    retryConfig?: RetryOptions;
    timeout?: number;
}

Type declaration

  • Optional abortController?: AbortController
  • Optional body?: Record<string, any> | string | Buffer
  • Optional credentialsMode?: CredentialsMode
  • Optional enableRetry?: boolean
  • headers: Record<string, any>
  • Optional includeOriginalRequest?: boolean
  • Optional maskSensitiveHeaderData?: boolean
  • method: MethodType
  • Optional retryConfig?: RetryOptions
  • Optional timeout?: number