pub type RequestFrame = Frame<Request>;Expand description
A client-to-session frame.
Aliased Type§
pub struct RequestFrame {
pub v: u32,
pub id: u64,
pub reply_to: Option<u64>,
pub session: SessionId,
pub sender: Option<SessionId>,
pub body: Request,
}Fields§
§v: u32Protocol major version (PROTOCOL_VERSION).
id: u64Sender-assigned id, monotonic per connection; answers echo it in
reply_to.
reply_to: Option<u64>The request this frame answers, if any. Streaming events that are not direct replies leave it absent.
session: SessionIdThe session this frame concerns — the target of a request, the origin of an event. The whole addressing scheme.
sender: Option<SessionId>The sender’s address, when it is not the transport’s own client (an
in-process handle leaves it unset; an A2A peer sets its "agent:<id>").
body: Request