mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-16 17:23:04 +08:00
# Conflicts: # Build/MQTTnet.nuspec # Source/MQTTnet/Server/Internal/MqttClientSessionsManager.cs
18 lines
513 B
C#
18 lines
513 B
C#
namespace MQTTnet.Client
|
|
{
|
|
public sealed class MqttClientDisconnectOptions
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the reason code.
|
|
/// Hint: MQTT 5 feature only.
|
|
/// </summary>
|
|
public MqttClientDisconnectReason Reason { get; set; } = MqttClientDisconnectReason.NormalDisconnection;
|
|
|
|
/// <summary>
|
|
/// Gets or sets the reason string.
|
|
/// Hint: MQTT 5 feature only.
|
|
/// </summary>
|
|
public string ReasonString { get; set; }
|
|
}
|
|
}
|