Files
CommTester/CommIpc/IpcFrame.cs
Holger Börchers 894fbbfa5a Initial commit
2026-01-30 15:31:43 +01:00

16 lines
388 B
C#

using System.Text.Json;
namespace CommIpc;
/// <summary>
/// Single protocol unit sent over the pipe. This is intentionally generic.
///
/// Transport framing: 4-byte little-endian length prefix + UTF-8 JSON bytes.
/// </summary>
public sealed record IpcFrame(
string Kind,
string? CorrelationId = null,
JsonElement? Payload = null,
DateTimeOffset? Timestamp = null
);