您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

24 行
716 B

  1. using System;
  2. using MQTTnet.Core.Serializer;
  3. namespace MQTTnet.Core.Client
  4. {
  5. public interface IMqttClientOptions
  6. {
  7. string ClientId { get; }
  8. /// <summary>
  9. /// The LogId is used to create a scope to correlate logging. If no value is provided the ClientId is used instead
  10. /// </summary>
  11. string LogId { get; }
  12. IMqttClientCredentials Credentials { get; }
  13. bool CleanSession { get; }
  14. MqttApplicationMessage WillMessage { get; }
  15. TimeSpan CommunicationTimeout { get; }
  16. TimeSpan KeepAlivePeriod { get; }
  17. MqttProtocolVersion ProtocolVersion { get; }
  18. IMqttClientChannelOptions ChannelOptions { get; }
  19. }
  20. }