using StellaOps.Router.Common.Enums; namespace StellaOps.Router.Common.Models; /// /// Represents a protocol frame in the router transport layer. /// public sealed record Frame { /// /// Gets the type of this frame. /// public required FrameType Type { get; init; } /// /// Gets the correlation ID for request/response matching. /// public string? CorrelationId { get; init; } /// /// Gets the raw payload bytes. /// public ReadOnlyMemory Payload { get; init; } }