The top-level frame exchanged between two A11 endpoints.
More...
#include <cpp/a11/data/types.h>
|
| size_t | ApproxBytes () const |
| | Estimate memory/wire weight before admitting this message to a buffer.
|
| |
| std::string | DebugString () const |
| | Return a concise representation suitable for logs and diagnostics.
|
| |
| absl::Status | Validate () const |
| | Validate every contained fragment, action, and header.
|
| |
| absl::StatusOr< Bytes > | ToMsgpack () const |
| | Encodes this message as MessagePack bytes.
|
| |
The top-level frame exchanged between two A11 endpoints.
Batches any number of a11::data::NodeFragment payloads and a11::data::ActionMessage invocations together with connection-level headers into a single unit sent across a stream. A half-close message (see MakeHalfCloseMessage) is a WireMessage that signals the sender is done writing.
◆ ApproxBytes()
| size_t a11::data::WireMessage::ApproxBytes |
( |
| ) |
const |
Estimate memory/wire weight before admitting this message to a buffer.
◆ DebugString()
| std::string a11::data::WireMessage::DebugString |
( |
| ) |
const |
Return a concise representation suitable for logs and diagnostics.
◆ FromMsgpack()
| absl::StatusOr< WireMessage > a11::data::WireMessage::FromMsgpack |
( |
std::string_view |
bytes | ) |
|
|
static |
◆ ToMsgpack()
| absl::StatusOr< Bytes > a11::data::WireMessage::ToMsgpack |
( |
| ) |
const |
Encodes this message as MessagePack bytes.
◆ Validate()
| absl::Status a11::data::WireMessage::Validate |
( |
| ) |
const |
Validate every contained fragment, action, and header.
◆ AbslStringify
◆ operator==
◆ actions
◆ headers
| ByteMap a11::data::WireMessage::headers {} |
◆ kVersion
| constexpr std::uint32_t a11::data::WireMessage::kVersion = 1 |
|
staticconstexpr |
◆ node_fragments
| std::vector<NodeFragment> a11::data::WireMessage::node_fragments {} |
The documentation for this struct was generated from the following files: