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

MqttSubscribeResult.cs 407 B

1234567891011121314151617
  1. using MQTTnet.Protocol;
  2. namespace MQTTnet.Client
  3. {
  4. public class MqttSubscribeResult
  5. {
  6. public MqttSubscribeResult(TopicFilter topicFilter, MqttSubscribeReturnCode returnCode)
  7. {
  8. TopicFilter = topicFilter;
  9. ReturnCode = returnCode;
  10. }
  11. public TopicFilter TopicFilter { get; }
  12. public MqttSubscribeReturnCode ReturnCode { get; }
  13. }
  14. }