Skip to main content

Module response

Module response 

Source
Expand description

Bounded decoding of caller-selected ICP CLI response formats.

This boundary returns opaque bytes. Consumers own Candid decoding, canister rejection semantics, CLI version admission, capture limits and replay policy. No command is executed and no output format is inferred.

Structs§

ResponseLimits
Caller-owned bounds for input parsing and decoded byte allocation.

Enums§

JsonErrorKind
JSON parser failure category without response values or parser error prose.
ResponseError
Response decoding failed. Formatting never includes response contents.
ResponseFormat
The output format explicitly requested by the caller’s CLI command.

Functions§

decode
Decode one complete response without dispatching a command or retrying it.