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 MQTTnet.Core.Packets;
- using MQTTnet.Core.Protocol;
-
- namespace MQTTnet.Core.Server
- {
- public class MqttServerOptions
- {
- public MqttServerDefaultEndpointOptions DefaultEndpointOptions { get; } = new MqttServerDefaultEndpointOptions();
-
- public MqttServerTlsEndpointOptions TlsEndpointOptions { get; } = new MqttServerTlsEndpointOptions();
-
- public int ConnectionBacklog { get; set; } = 10;
-
- public TimeSpan DefaultCommunicationTimeout { get; set; } = TimeSpan.FromSeconds(15);
-
- public Func<MqttConnectPacket, MqttConnectReturnCode> ConnectionValidator { get; set; }
-
- public Action<MqttApplicationMessageInterceptorContext> ApplicationMessageInterceptor { get; set; }
-
- public Action<MqttSubscriptionInterceptorContext> SubscriptionsInterceptor { get; set; }
-
- public IMqttServerStorage Storage { get; set; }
- }
- }
|