Skip to main content
HAIPClient sends canonical JSON, follows no redirects and uses a 15-second request timeout. Successful responses are decoded with the protocol JSON parser. Non-success HTTP responses raise HAIPError; transport or decoding errors can be ordinary errors. verifyRecord authenticates an original signed record against independently supplied trust and expected identity. It is not a substitute for the complete execution verifier.
The consumer functions are application responsibilities, not SDK exports. Re-fetch request status when acting on an event; never launch work solely because an event says it was authorised. Only create, cancel, claim and outcome take explicit idempotency keys in these convenience methods. admission generates a fresh nonce for each check and does not extend the original dispatch deadline.