OpenNMS.js - v2.6.2-SNAPSHOT
    Preparing search index...

    Class OnmsHTTPOptions

    Options to be used when making HTTP ReST calls.

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    data: any

    HTTP data to be passed when POSTing

    headers: IHash<string> = ...

    HTTP headers to be passed to the request.

    parameters: IHash<string | string[]> = ...

    HTTP parameters to be passed on the URL.

    server: OnmsServer

    The server to use instead of that provided by the HTTP implementation.

    Accessors

    Methods

    • Parameters

      • pattern: string | RegExp
      • replaceWith: string

      Returns string