mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-17 01:33:03 +08:00
18 lines
531 B
C#
18 lines
531 B
C#
namespace MQTTnet.Client.Disconnecting
|
|
{
|
|
public sealed class MqttClientDisconnectOptions
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the reason code.
|
|
/// Hint: MQTT 5 feature only.
|
|
/// </summary>
|
|
public MqttClientDisconnectReason ReasonCode { get; set; } = MqttClientDisconnectReason.NormalDisconnection;
|
|
|
|
/// <summary>
|
|
/// Gets or sets the reason string.
|
|
/// Hint: MQTT 5 feature only.
|
|
/// </summary>
|
|
public string ReasonString { get; set; }
|
|
}
|
|
}
|