mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-17 01:33:03 +08:00
22 lines
670 B
C#
22 lines
670 B
C#
using System.Collections.Generic;
|
|
using MQTTnet.Protocol;
|
|
|
|
namespace MQTTnet.Packets
|
|
{
|
|
public sealed class MqttConnectPacketWillProperties
|
|
{
|
|
public uint WillDelayInterval { get; set; }
|
|
|
|
public MqttPayloadFormatIndicator PayloadFormatIndicator { get; set; } = MqttPayloadFormatIndicator.Unspecified;
|
|
|
|
public uint MessageExpiryInterval { get; set; }
|
|
|
|
public string ContentType { get; set; }
|
|
|
|
public string ResponseTopic { get; set; }
|
|
|
|
public byte[] CorrelationData { get; set; }
|
|
|
|
public List<MqttUserProperty> UserProperties { get; } = new List<MqttUserProperty>();
|
|
}
|
|
} |