Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Client

Index

Constructors

constructor

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

Properties

Private accountID

accountID: string

Private host

host: string

Private licenseKey

licenseKey: string

Private timeout

timeout: number

Methods

factors

Private handleError

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

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

    Returns WebServiceClientError

insights

reportTransaction

Private responseFor

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

    • T

    Parameters

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

    Returns Promise<T>

score

Generated using TypeDoc