Construct an AxiosHTTP instance.
Optional
server: OnmsServerThe server to connect to.
Optional
axiosImpl: AxiosStaticThe Axios implementation class to use.
The default timeout for ReST connections.
The default set of HTTP options associated with this ReST client.
The default options used when making requests with this instance.
The server associated with this HTTP implementation.
The server associated with this instance.
Make an HTTP GET call using axios.request({method:'get'})
.
Optional
options: OnmsHTTPOptionsProtected
getProtected
getGet the union of [[OnmsHTTPOptions]] based on the passed options, defaults, and options in the [[OnmsServer]] associated with this request. Order of precedence is passed options -> server options -> default options.
Optional
options: OnmsHTTPOptionsProtected
getGet the [[OnmsServer]] object that should be used for making requests. Favors the one passed in the [[OnmsHTTPOptions]], otherwise it falls back to the default server associated with the HTTP implementation.
Optional
options: OnmsHTTPOptionsMake an HTTP HEAD call using axios.request({method:'head'})
.
Optional
options: OnmsHTTPOptionsMake an HTTP DELETE call using axios.request({method:'delete'})
.
Optional
options: OnmsHTTPOptionsProtected
onMake an HTTP POST call using axios.request({method:'post'})
.
Optional
options: OnmsHTTPOptionsMake an HTTP PUT call using axios.request({method:'put'})
.
Optional
options: OnmsHTTPOptionsProtected
transformJSONProtected
transformXML
Implementation of the [[IOnmsHTTP]] interface using Axios: https://github.com/mzabriskie/axios
Implements
IOnmsHTTP