ExchangeResponse struct final
#include <control/exchange_service.hpp>
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_on logical failure.string(ErrorCode) - 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.