Engine API Reference - v2.6.1
    Preparing search index...

    Type Alias HttpResponseCallback

    HttpResponseCallback: (
        err: number | string | Error | null,
        response?: any,
    ) => any

    Type declaration

      • (err: number | string | Error | null, response?: any): any
      • Parameters

        • err: number | string | Error | null

          The error code, message, or exception in the case where the request fails.

        • Optionalresponse: any

          The response data if no errors were encountered. (format depends on response type: text, Object, ArrayBuffer, XML).

        Returns any