Skip to main content
Version: Current

classifyHttpResponse

@rotorsoft/act-root


@rotorsoft/act-root / act-http/src/webhook / classifyHttpResponse

Function: classifyHttpResponse()

classifyHttpResponse(response): HttpDisposition

Defined in: libs/act-http/src/webhook/classify.ts:28

Classify an HTTP response as ok (2xx), retry (5xx), or block (3xx, 4xx). The classification webhook uses internally, lifted here so custom integrations (gRPC bridges, SDK-based reactions, etc.) can apply the same retry semantics without inventing a parallel rule.

Parametersโ€‹

responseโ€‹

Response

Returnsโ€‹

HttpDisposition