Struct RpcResponse
Represents an RPC response message. A struct so that framing a response does not heap-allocate the envelope on the server hot path; it is constructed, serialized, and read but never mutated after construction.
public struct RpcResponse
- Inherited Members
Properties
ErrorMessage
Error message (if not successful).
public string? ErrorMessage { readonly get; set; }
Property Value
ErrorType
Error type name (if not successful).
public string? ErrorType { readonly get; set; }
Property Value
IsSuccess
Whether the call was successful.
public bool IsSuccess { readonly get; set; }
Property Value
MessageId
The message ID this response corresponds to.
public int MessageId { readonly get; set; }
Property Value
Stream
Non-null when the response payload is delivered by subsequent stream frames.
public RpcStreamHandle? Stream { readonly get; set; }