mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-18 10:26:11 +08:00
21 lines
491 B
C#
21 lines
491 B
C#
using MQTTnet.Protocol;
|
|
|
|
namespace MQTTnet.Packets
|
|
{
|
|
public class MqttPubRecPacket : MqttBasePublishPacket
|
|
{
|
|
#region Added in MQTTv5
|
|
|
|
public MqttPubRecReasonCode? ReasonCode { get; set; }
|
|
|
|
public MqttPubRecPacketProperties Properties { get; set; }
|
|
|
|
#endregion
|
|
|
|
public override string ToString()
|
|
{
|
|
return string.Concat("PubRec: [PacketIdentifier=", PacketIdentifier, "] [ReasonCode=", ReasonCode, "]");
|
|
}
|
|
}
|
|
}
|