Expose results of publish operations for MQTTv5.

This commit is contained in:
Christian Kratky
2019-04-18 00:01:22 +02:00
parent 420b35e37d
commit a8434d1b58
2 changed files with 20 additions and 5 deletions
@@ -1,8 +1,15 @@
using System.Collections.Generic;
using MQTTnet.Packets;
namespace MQTTnet.Client.Publishing
{
public class MqttClientPublishResult
{
public MqttClientPublishReasonCode ReasonCode { get; set; } = MqttClientPublishReasonCode.Success;
public string ReasonString { get; set; }
public List<MqttUserProperty> UserProperties { get; set; }
}
}