Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OnmsHTTPOptions

Options to be used when making HTTP ReST calls.

Hierarchy

  • OnmsHTTPOptions

Index

Constructors

constructor

Properties

auth

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

data

data: any

HTTP data to be passed when POSTing

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