Update MqttApplicationMessageBuilder.cs (#1230)

update function WithMessageExpiryInterval description
This commit is contained in:
Jacky Jiang
2021-09-08 15:45:18 +02:00
committed by GitHub
parent fa6859d68a
commit 9d9077f17c
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
@@ -198,7 +198,7 @@ namespace MQTTnet
_retain = value;
return this;
}
public MqttApplicationMessageBuilder WithDupFlag(bool value = true)
{
_dup = value;
@@ -306,7 +306,7 @@ namespace MQTTnet
}
/// <summary>
/// Adds the message expiry interval to the message.
/// Adds the message expiry interval in seconds to the message.
/// Hint: MQTT 5 feature only.
/// </summary>
/// <param name="messageExpiryInterval">The message expiry interval.</param>