Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
|
- namespace MQTTnet.Core.Packets
- {
- public class MqttConnectPacket: MqttBasePacket
- {
- 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 $"{nameof(MqttConnectPacket)} [ClientId={ClientId}] [Username={Username}] [Password={Password}] [KeepAlivePeriod={KeepAlivePeriod}] [CleanSession={CleanSession}]";
- }
- }
- }
|