mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-25 07:41:32 +08:00
Update MqttApplicationMessageBuilder.cs (#1230)
update function WithMessageExpiryInterval description
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
@@ -198,7 +198,7 @@ namespace MQTTnet
|
|||||||
_retain = value;
|
_retain = value;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public MqttApplicationMessageBuilder WithDupFlag(bool value = true)
|
public MqttApplicationMessageBuilder WithDupFlag(bool value = true)
|
||||||
{
|
{
|
||||||
_dup = value;
|
_dup = value;
|
||||||
@@ -306,7 +306,7 @@ namespace MQTTnet
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Adds the message expiry interval to the message.
|
/// Adds the message expiry interval in seconds to the message.
|
||||||
/// Hint: MQTT 5 feature only.
|
/// Hint: MQTT 5 feature only.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="messageExpiryInterval">The message expiry interval.</param>
|
/// <param name="messageExpiryInterval">The message expiry interval.</param>
|
||||||
|
|||||||
Reference in New Issue
Block a user