Construct a new OnmsHTTPOptions object.
Optional
timeout: numberOptional
server: OnmsServerOptional
auth: OnmsAuthConfigOptional
headers: IHash<string>Optional
parameters: IHash<string | string[]>Optional
data: anyPrivate
Readonly
[AUTH_The default authentication credentials associated with these options.
This is a trick for making sure serialization to JSON happens properly without exposing internals.
Private
Readonly
[TIMEOUT_The default timeout associated with these options.
This is a trick for making sure serialization to JSON happens properly without exposing internals.
Readonly
dataHTTP data to be passed when POSTing
Readonly
headersHTTP headers to be passed to the request.
Readonly
parametersHTTP parameters to be passed on the URL.
Readonly
serverThe server to use instead of that provided by the HTTP implementation.
The authentication config that should be used.
How long to wait for ReST calls to time out.
Static
newCreate a new builder for an [[OnmsHTTPOptions]] object.
Optional
options: OnmsHTTPOptionsif an existing options object is passed, the builder will be pre-populated
Options to be used when making HTTP ReST calls.