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.
|
- using System;
- using System.Threading.Tasks;
-
- namespace MQTTnet.Core
- {
- public static class ApplicationMessagePublisherExtensions
- {
- public static Task PublishAsync(this IApplicationMessagePublisher client, params MqttApplicationMessage[] applicationMessages)
- {
- if (client == null) throw new ArgumentNullException(nameof(client));
- if (applicationMessages == null) throw new ArgumentNullException(nameof(applicationMessages));
-
- return client.PublishAsync(applicationMessages);
- }
- }
- }
|