mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-15 00:15:15 +08:00
20 lines
433 B
C#
20 lines
433 B
C#
using MQTTnet.Core.Protocol;
|
|
|
|
namespace MQTTnet.Core.Packets
|
|
{
|
|
public class MqttPublishPacket : MqttBasePacket
|
|
{
|
|
public ushort? PacketIdentifier { get; set; }
|
|
|
|
public bool Retain { get; set; }
|
|
|
|
public MqttQualityOfServiceLevel QualityOfServiceLevel { get; set; }
|
|
|
|
public bool Dup { get; set; }
|
|
|
|
public string Topic { get; set; }
|
|
|
|
public byte[] Payload { get; set; }
|
|
}
|
|
}
|