Пример #1
0
 /// <summary>
 ///     Builds the MQTT Server options
 /// </summary>
 /// <param name="options">AspNetMqttServerOptionsBuilder</param>
 public void ConfigureMqttServerOptions(AspNetMqttServerOptionsBuilder options)
 {
     options
     .WithConnectionValidator(this)
     .WithApplicationMessageInterceptor(this)
     .WithSubscriptionInterceptor(this)
     .WithClientId("localhost")
     .WithStorage(new RetainedMessageHandler());
 }
 public void ConfigureMqttServerOptions(AspNetMqttServerOptionsBuilder options)
 {
     options.WithConnectionValidator(this);
 }
Пример #3
0
 public void ConfigureMqttServerOptions(AspNetMqttServerOptionsBuilder options)
 {
     options.WithConnectionValidator(this);
     options.WithApplicationMessageInterceptor(this);
 }