25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ManagedMqttClientOptions.cs 470 B

12345678910111213141516
  1. using System;
  2. using MQTTnet.Client;
  3. namespace MQTTnet.Extensions.ManagedClient
  4. {
  5. public class ManagedMqttClientOptions : IManagedMqttClientOptions
  6. {
  7. public IMqttClientOptions ClientOptions { get; set; }
  8. public TimeSpan AutoReconnectDelay { get; set; } = TimeSpan.FromSeconds(5);
  9. public TimeSpan ConnectionCheckInterval { get; set; } = TimeSpan.FromSeconds(1);
  10. public IManagedMqttClientStorage Storage { get; set; }
  11. }
  12. }