• 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 = 15

      The maximum retry attempt count.

    • Optional logger: 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.

Generated using TypeDoc