Client Configuration

interface ClientConfig {
    httpClient?: HttpClient;
    httpClientType?: HttpClientType;
    httpRequestTimeout?: number;
    integrationUserAgent?: string;
    retryConfig?: RetryConfig;
    userAgent?: string;
}

Properties

httpClient?: HttpClient

Instance of your HTTP client if needed

httpClientType?: HttpClientType

The type of HTTP client to be used for making requests

httpRequestTimeout?: number

Http request timeout in ms

integrationUserAgent?: string

Custom User-Agent to be passed to the X-Crowdin-Integrations-User-Agent header

retryConfig?: RetryConfig

Retry strategy configuration

userAgent?: string

Custom User-Agent to be passed to the User-Agent header