17 lines
507 B
C#
17 lines
507 B
C#
namespace AyCode.Services.SignalRs;
|
|
|
|
/// <summary>
|
|
/// Controls how the binary protocol transports serialized data over the network.
|
|
/// </summary>
|
|
public enum BinaryProtocolMode
|
|
{
|
|
/// <summary>Standard: serialize → egyben küld/fogad.</summary>
|
|
Bytes = 0,
|
|
|
|
/// <summary>Szinkron segment streaming: flush Grow()-ban → chunk-onként hálózatra.</summary>
|
|
Segment = 1,
|
|
|
|
/// <summary>Async segment streaming: async serializer + async output (jövő).</summary>
|
|
AsyncSegment = 2,
|
|
}
|