Implementation of the [[IOnmsHTTP]] interface using Axios: https://github.com/mzabriskie/axios

IOnmsHTTP

Hierarchy (view full)

Constructors

Accessors

Methods

  • A convenience method for implementers to use to turn JSON into a javascript object. Use this to process a JSON response before returning it in an [[OnmsResult]] object.

    Parameters

    • data: any

    Returns any

  • A convenience method for implementers to use to turn XML into a javascript object. Use this to process an XML response before returning it in an [[OnmsResult]] object.

    Parameters

    • data: any

    Returns any