feat(network)!: add v2 framing, pooled buffers and bounded dispatch
Publish UPM package / publish (push) Successful in 2s
Publish NuGet packages / publish (push) Successful in 3m5s

This commit is contained in:
2026-09-29 10:14:47 +08:00
parent c7c45b26f8
commit 93c2b8520b
36 changed files with 752 additions and 398 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ namespace ShrinkNetwork
{
public static class ShrinkNetworkProtocol
{
public const int CurrentProtocolVersion = 1;
public const int CurrentProtocolVersion = 2;
public const int CurrentSchemaVersion = 1;
}
@@ -28,6 +28,6 @@ namespace ShrinkNetwork
public long SessionTokenExpiresAtUnixTimeSeconds;
public string? Route;
public ShrinkNetworkPacketKind Kind;
public byte[] Payload = Array.Empty<byte>();
public ReadOnlyMemory<byte> Payload = ReadOnlyMemory<byte>.Empty;
}
}