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.
 
 
 
 

12 lines
307 B

  1. using System.Threading;
  2. using System.Threading.Tasks;
  3. using MQTTnet.Client.Publishing;
  4. namespace MQTTnet
  5. {
  6. public interface IApplicationMessagePublisher
  7. {
  8. Task<MqttClientPublishResult> PublishAsync(MqttApplicationMessage applicationMessage, CancellationToken cancellationToken);
  9. }
  10. }