HealthCheck
Defined in: health.ts:111
Health check handler
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new HealthCheck(
bridgeOrRouter,config):HealthCheck
Defined in: health.ts:118
Parameters
Section titled “Parameters”bridgeOrRouter
Section titled “bridgeOrRouter”Bridge<FrontendAdapter<unknown, unknown, unknown>> | Router
config
Section titled “config”HealthCheckConfig = {}
Returns
Section titled “Returns”HealthCheck
Methods
Section titled “Methods”check()
Section titled “check()”check():
Promise<HealthCheckResult>
Defined in: health.ts:142
Perform health check
Returns
Section titled “Returns”Promise<HealthCheckResult>
handle()
Section titled “handle()”handle(
_req,res):Promise<void>
Defined in: health.ts:218
Handle health check request
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<void>