Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OnmsHTTPOptions

Options to be used when making HTTP ReST calls.

Hierarchy

  • OnmsHTTPOptions

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Private __computed

__computed: OnmsAuthConfig | null

The default timeout associated with these options. The default authentication credentials associated with these options.

This is a trick for making sure serialization to JSON happens properly without exposing internals.

This is a trick for making sure serialization to JSON happens properly without exposing internals.

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 | string[]> = {} as IHash<string | string[]>

HTTP parameters to be passed on the URL.

server

server: OnmsServer | null

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

Accessors

auth

timeout

  • get timeout(): number | undefined

Methods

toJSON

  • toJSON(): object

Static newBuilder

Generated using TypeDoc