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

20 行
545 B

  1. namespace MQTTnet.Server
  2. {
  3. public class MqttApplicationMessageInterceptorContext
  4. {
  5. public MqttApplicationMessageInterceptorContext(string clientId, MqttApplicationMessage applicationMessage)
  6. {
  7. ClientId = clientId;
  8. ApplicationMessage = applicationMessage;
  9. }
  10. public string ClientId { get; }
  11. public MqttApplicationMessage ApplicationMessage { get; set; }
  12. public bool AcceptPublish { get; set; } = true;
  13. public bool CloseConnection { get; set; }
  14. }
  15. }