11 lines
369 B
C#
11 lines
369 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);
|