Maximo API Client - v0.9.01
    Preparing search index...

    Interface HttpClientConfig

    Configuration options for the HTTP client

    interface HttpClientConfig {
        baseUrl: string;
        ssl?: boolean;
        headers?: Record<string, string>;
        timeout?: number;
        maxConcurrentRequests?: number;
        withCredentials?: boolean;
        rejectUnauthorized?: boolean;
        apiHome: string;
        contextRoot: string;
        ca?: string;
        cert?: string;
        key?: string;
        autoAuthenticate?: boolean;
        onAuthFailure?: () => Promise<void>;
        proxy?: {
            host: string;
            port: number;
            protocol?: string;
            auth?: { username: string; password: string };
        };
        logDepth?: number;
        logArrayLimit?: number;
        logger?: ILogger;
        autoExtractCert?: boolean;
        skipHostnameValidation?: boolean;
    }
    Index

    Properties

    baseUrl: string
    ssl?: boolean
    headers?: Record<string, string>
    timeout?: number
    maxConcurrentRequests?: number
    withCredentials?: boolean
    rejectUnauthorized?: boolean
    apiHome: string
    contextRoot: string
    ca?: string
    cert?: string
    key?: string
    autoAuthenticate?: boolean

    Whether to automatically re-authenticate on receiving a 401 response.

    onAuthFailure?: () => Promise<void>

    Callback function to execute for re-authentication.

    proxy?: {
        host: string;
        port: number;
        protocol?: string;
        auth?: { username: string; password: string };
    }
    logDepth?: number

    Depth for logging object structures

    logArrayLimit?: number

    Limit for logging array items

    logger?: ILogger

    Logger instance

    autoExtractCert?: boolean

    Whether to automatically extract certificates from the server

    skipHostnameValidation?: boolean

    Whether to skip hostname validation when using autoExtractCert. If true, only certificate fingerprint is validated.