AbstractConstructor.
Service config.
Service logger.
Protected_configAbstract_endpointSpecific webservice endpoint.
An absolute URL, which means a path with leading slash ('/') relative to the IServiceConfig.controllerUrl (ProCon.IP base address).
Abstract_methodHTTP request method.
Must be one of the valid HTTP request methods like GET, POST, etc.
See axios/Method type:
export type Method =
| 'get' | 'GET'
| 'delete' | 'DELETE'
| 'head' | 'HEAD'
| 'options' | 'OPTIONS'
| 'post' | 'POST'
| 'put' | 'PUT'
| 'patch' | 'PATCH'
| 'purge' | 'PURGE'
| 'link' | 'LINK'
| 'unlink' | 'UNLINK'
Protected_requestCustom HTTP headers.
Custom headers can be defined in form of a key value pair.
this._requestHeaders["Cache-Control"] = "no-cache";
ProtectedlogLogger which will be used for all logging events.
ProtectedaxiosGet an axios/AxiosRequestConfig object.
Get the base url.
The IServiceConfig.controllerUrl string.
Get the webservice url (joined base url and endpoint).
URL string (joined base url and endpoint).
Abstract service implementing the common base setup for the axios requests of the specific service implementations.