mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-16 01:03:01 +08:00
- improved message framing. as basis to improve buffering - share more common code for the writer part
14 lines
275 B
C#
14 lines
275 B
C#
using MQTTnet.Core.Protocol;
|
|
|
|
namespace MQTTnet.Core.Packets
|
|
{
|
|
public class MqttPacketHeader
|
|
{
|
|
public MqttControlPacketType ControlPacketType { get; set; }
|
|
|
|
public byte FixedHeader { get; set; }
|
|
|
|
public int BodyLength { get; set; }
|
|
}
|
|
}
|