Ejemplo n.º 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);
 }
Ejemplo n.º 3
0
 public void ConfigureMqttServerOptions(AspNetMqttServerOptionsBuilder options)
 {
     options.WithConnectionValidator(this);
     options.WithApplicationMessageInterceptor(this);
 }