Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OnmsHTTPOptions

Options to be used when making HTTP ReST calls.

Hierarchy

  • OnmsHTTPOptions

Index

Constructors

Properties

Constructors

constructor

  • Construct a new OnmsHTTPOptions object.

    constructor

    Parameters

    Returns OnmsHTTPOptions

Properties

auth

The authentication config that should be used when no auth is associated with the OnmsServer.

headers

headers: IHash<string> = {} as IHash<string>

HTTP headers to be passed to the request.

parameters

parameters: IHash<string> = {} as IHash<string>

HTTP parameters to be passed on the URL.

server

server: OnmsServer

The server to use if no server is set on the HTTP implementation.

timeout

timeout: number = 10000

How long to wait for ReST calls to time out.

Generated using TypeDoc