@dypai-ai/client-sdk - v1.12.0
    Preparing search index...

    Interface GlobalClientOptions

    Configuración global para el cliente API.

    interface GlobalClientOptions {
        fetch?: (
            input: RequestInfo | URL,
            init?: RequestInit,
        ) => Promise<Response>;
        headers?: Record<string, string>;
    }
    Index

    Properties

    Properties

    fetch?: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>

    Implementación personalizada de fetch. Útil para Node.js, tests, o para mockear peticiones.

    headers?: Record<string, string>

    Headers globales que se enviarán en todas las peticiones.