MELCloud & MELCloud Home API for Node.js - v48.2.0
    Preparing search index...

    Type Alias TransportConfig

    TransportConfig: HttpClient | { timeoutMs?: number }

    Transport configuration. Discriminated by presence of an HttpClient instance — the SDK either reuses your wired client (with its own dispatcher, headers, timeout) or builds a fetch-backed default whose timeout you can tweak via timeoutMs.

    Type Declaration

    • HttpClient
    • { timeoutMs?: number }
      • Optional ReadonlytimeoutMs?: number

        Maximum time in milliseconds for a single HTTP request before it is aborted. Defaults to 30 000 ms (30 s). Pass 0 to disable the timeout (not recommended).