Constructors

  • Parameters

    • accountID: string
    • licenseKey: string
    • timeout: number = 3000
    • host: string = 'minfraud.maxmind.com'

    Returns Client

Properties

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

Methods

  • Parameters

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

    Returns WebServiceClientError

  • Type Parameters

    • T

    Parameters

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

    Returns Promise<T>