The service's base URL including the trailing /
The service's controllerName
Optional
tokenFactory: (() => Promise<null | string>)Optional factory to set axios instance's token before http calls.'
Protected
axiosThe axios instance used by this service.
Private
controllerThe name of the controller, used in constructing the axios instance's baseURL.
Set the service's base URL e.g. /engine/ or https://prod-platform-traversal-engine.doctorlink.engineering/api/v2/tenantId/
e.g. /engine/
Set the token to use in the service's axios instance
Bearer token or null.
A base class for web api services using the axios http client.