You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using MQTTnet.Serializer;
-
- namespace MQTTnet.Packets
- {
- public sealed class MqttConnectPacket : MqttBasePacket
- {
- public MqttProtocolVersion ProtocolVersion { get; set; }
-
- public string ClientId { get; set; }
-
- public string Username { get; set; }
-
- public string Password { get; set; }
-
- public ushort KeepAlivePeriod { get; set; }
-
- public bool CleanSession { get; set; }
-
- public MqttApplicationMessage WillMessage { get; set; }
-
- public override string ToString()
- {
- return "Connect: [ClientId=" + ClientId + "] [Username=" + Username + "] [Password=" + Password + "] [KeepAlivePeriod=" + KeepAlivePeriod + "] [CleanSession=" + CleanSession + "]";
- }
- }
- }
|