Struct RpcResponse
Namespace: DotBoxD.Services.Protocol
Assembly: DotBoxD.Services.dll
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 RpcResponseInherited Members
Section titled “Inherited Members”object.Equals(object), object.Equals(object, object), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object, object), object.ToString()
Properties
Section titled “Properties”ErrorMessage
Section titled “ ErrorMessage”Error message (if not successful).
public string? ErrorMessage { readonly get; set; }Property Value
Section titled “Property Value”ErrorType
Section titled “ ErrorType”Error type name (if not successful).
public string? ErrorType { readonly get; set; }Property Value
Section titled “Property Value”IsSuccess
Section titled “ IsSuccess”Whether the call was successful.
public bool IsSuccess { readonly get; set; }Property Value
Section titled “Property Value”MessageId
Section titled “ MessageId”The message ID this response corresponds to.
public int MessageId { readonly get; set; }Property Value
Section titled “Property Value”Stream
Section titled “ Stream”Non-null when the response payload is delivered by subsequent stream frames.
public RpcStreamHandle? Stream { readonly get; set; }