prf::control::ExchangeResponse struct final

One outbound transport-neutral management response.

Public variables

uint16_t content_format
ErrorCode error
Internal logical error enum for transport/status mapping.
const char* error_code
Stable string token from to_string(ErrorCode) on logical failure.
bool has_content_format
bool ok
True for successful business response.
std::span<const uint8_t> payload
Borrowed view into caller-provided TX buffer.
bool use_changed_code
True when transport should use "changed/content" success code.