瀏覽代碼

Update MqttApplicationMessageBuilder.cs (#1230)

update function WithMessageExpiryInterval description
release/3.x.x
Jacky Jiang 3 年之前
committed by GitHub
父節點
當前提交
9d9077f17c
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      Source/MQTTnet/MqttApplicationMessageBuilder.cs

+ 3
- 3
Source/MQTTnet/MqttApplicationMessageBuilder.cs 查看文件

@@ -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>


Loading…
取消
儲存