Instantiates the SDK with a different HTTP client.

This method should be used in conjunction with the initializer createAdvancedClient.

  • Parameters

    • httpClient: {
          (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
          (input: string | Request | URL, init?: RequestInit): Promise<Response>;
      }

      A fetch compatible HTTP client

        • (input, init?): Promise<Response>
        • Parameters

          • input: URL | RequestInfo
          • Optionalinit: RequestInit

          Returns Promise<Response>

        • (input, init?): Promise<Response>
        • Parameters

          • input: string | Request | URL
          • Optionalinit: RequestInit

          Returns Promise<Response>

    Returns ((settings: Readonly<Settings>) => Settings)

    A factory ClientConfig