Add new overloads for packet payload and will payload (#1721)

This commit is contained in:
Christian
2023-05-04 22:19:06 +02:00
committed by GitHub
parent b08d11c069
commit 99f4f46062
4 changed files with 37 additions and 24 deletions
@@ -34,7 +34,7 @@ namespace MQTTnet.Client
/// Gets or sets the reason code.
/// <remarks>MQTT 5.0.0+ feature.</remarks>
/// </summary>
public MqttClientPublishReasonCode ReasonCode { get; } = MqttClientPublishReasonCode.Success;
public MqttClientPublishReasonCode ReasonCode { get; }
/// <summary>
/// Gets or sets the reason string.