Skip to content

Function: parseHealthBody()

Makaio Framework


Makaio Framework / utils/health-probe / parseHealthBody

parseHealthBody(body): HealthResult | null

Defined in: ../../../packages/utils/src/health-probe.ts:35

Parse the raw /health response body.

string

Raw response text from the health endpoint.

HealthResult | null

Parsed health result, or null if the body is not a valid health response.