Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • new OnlineTriageService(baseUrl: string, tokenFactory?: undefined | (() => Promise<string | null>)): OnlineTriageService
  • Parameters

    • baseUrl: string
    • Optional tokenFactory: undefined | (() => Promise<string | null>)

    Returns OnlineTriageService

Properties

Protected axios

axios: AxiosInstance

The axios instance used by this service.

Methods

getAlgos

setBaseUrl

  • setBaseUrl(baseURL: string): void

setToken

  • setToken(token: string | null): void
  • Set the token to use in the service's axios instance

    Parameters

    • token: string | null

      Bearer token or null.

    Returns void