Axinom Mosaic Libraries
    Preparing search index...
    • Checks the health status of a service by accessing the /health endpoint.

      Parameters

      • baseUrl: string

        The base URL of the service.

      • healthRoute: string = '/health'
      • maxRetryAttempts: number = 10

        The maximum retry attempt count.

      • Optionallogger: Logger

        A logger object to use for output generated inside the middleware.

      Returns Promise<boolean>

      A promise that resolves to a Record with key value paires.