TransportR.Serialization.MessagePack
0.6.0
dotnet add package TransportR.Serialization.MessagePack --version 0.6.0
NuGet\Install-Package TransportR.Serialization.MessagePack -Version 0.6.0
<PackageReference Include="TransportR.Serialization.MessagePack" Version="0.6.0" />
<PackageVersion Include="TransportR.Serialization.MessagePack" Version="0.6.0" />
<PackageReference Include="TransportR.Serialization.MessagePack" />
paket add TransportR.Serialization.MessagePack --version 0.6.0
#r "nuget: TransportR.Serialization.MessagePack, 0.6.0"
#:package TransportR.Serialization.MessagePack@0.6.0
#addin nuget:?package=TransportR.Serialization.MessagePack&version=0.6.0
#tool nuget:?package=TransportR.Serialization.MessagePack&version=0.6.0
TransportR - MessagePack Serialization
Carries batches of any POCO over TransportR as MessagePack, LZ4-compressed. The recommended default serializer.
Installation
dotnet add package TransportR.Serialization.MessagePack
Usage
var client = new TransportRClientBuilder<Order>()
.WithUrl("http://localhost:5252")
.WithMessagePackSerialization()
.Build();
By default the serializer is contractless: public properties are serialized by name, and the type
needs no attribute. Pass useAnnotations: true for types annotated with [MessagePackObject] and
[Key(n)], which put integer keys on the wire instead of property names (about 11 % smaller on the
benchmark's orders, after compression).
Both ends of a transfer must use the same serializer and settings: a batch the receiver cannot decode fails the transfer.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- MessagePack (>= 3.1.11)
- TransportR (>= 0.6.0)
- TransportR.Client.SignalR (>= 0.6.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.