bothy-sdk
    Preparing search index...

    Function createApiClient

    • Creates the openapi-fetch client for the public API with the tolerance middleware and the hand layer's wrapped fetch (auth, DPoP, run binding, timeout, retries, deprecation).

      Parameters

      • options: ApiClientOptions = {}

        openapi-fetch's options (baseUrl ending in /api/v1, fetch, headers) plus token, dpopKey, timeoutMs, retry, logger, userAgent, settings, clock.

      Returns ApiClient

      The client; its JSON responses never contain a null member.

      TypeError when baseUrl uses clear text off the loopback host.