Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Client

Index

Constructors

  • new Client(accountID: string, licenseKey: string, timeout?: number): Client

Properties

accountID: string
host: string
licenseKey: string
timeout: number

Methods

  • handleError(data: ResponseError, response: IncomingMessage, url: string): WebServiceClientError
  • Parameters

    • data: ResponseError
    • response: IncomingMessage
    • url: string

    Returns WebServiceClientError

  • responseFor<T>(path: servicePath, postData: string, modelClass?: any): Promise<T>
  • Type parameters

    • T

    Parameters

    • path: servicePath
    • postData: string
    • Optional modelClass: any

    Returns Promise<T>

Generated using TypeDoc