Type Alias ConnectionInfo

ConnectionInfo: {
    headers?: {
        [key: string]: string | number;
    };
    proxy?: AxiosProxyConfig;
    url: string;
}

Provides the URL, headers, and other information to set up a connection to the backend.

Type declaration

  • Optionalheaders?: {
        [key: string]: string | number;
    }

    Optional headers as key-value pairs.

    • [key: string]: string | number
  • Optionalproxy?: AxiosProxyConfig

    Optional proxy configuration

  • url: string

    The URL for the connection