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 System;
-
- namespace MQTTnet.Core.Client
- {
- public sealed class MqttClientOptions
- {
- public string Server { get; set; }
-
- public int? Port { get; set; }
-
- public MqttClientSslOptions SslOptions { get; } = new MqttClientSslOptions();
-
- public string UserName { get; set; }
-
- public string Password { get; set; }
-
- public string ClientId { get; set; } = Guid.NewGuid().ToString().Replace("-", string.Empty);
-
- public bool CleanSession { get; set; } = true;
-
- public TimeSpan KeepAlivePeriod { get; set; } = TimeSpan.FromSeconds(5);
-
- public TimeSpan DefaultCommunicationTimeout { get; set; } = TimeSpan.FromSeconds(10);
- }
- }
|