MELCloud & MELCloud Home API for Node.js - v60.5.0
    Preparing search index...

    Class HttpClient

    Thin fetch-based HTTP client used internally by the SDK — the core transport with the MELCloud redaction vocabulary pre-seated.

    Hierarchy

    • HttpClient
      • HttpClient
    Index
    baseURL: string
    timeout: number
    • Issues an HTTP request and returns the normalized response.

      Type Parameters

      • T = unknown

      Parameters

      Returns Promise<HttpResponse<T>>

      The normalized { data, status, headers } triple.

      HttpError when the response status is not 2xx.