Nie możesz wybrać więcej, niż 25 tematów
Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
|
- using System;
-
- namespace MQTTnet.Server
- {
- public class MqttServerOptions : IMqttServerOptions
- {
- public MqttServerDefaultEndpointOptions DefaultEndpointOptions { get; } = new MqttServerDefaultEndpointOptions();
-
- public MqttServerTlsEndpointOptions TlsEndpointOptions { get; } = new MqttServerTlsEndpointOptions();
-
- public bool EnablePersistentSessions { get; set; }
-
- public int ConnectionBacklog { get; set; } = 10;
-
- public int MaxPendingMessagesPerClient { get; set; } = 250;
- public MqttPendingMessagesOverflowStrategy PendingMessagesOverflowStrategy { get; set; } = MqttPendingMessagesOverflowStrategy.DropOldestQueuedMessage;
-
- public TimeSpan DefaultCommunicationTimeout { get; set; } = TimeSpan.FromSeconds(15);
-
- public Action<MqttConnectionValidatorContext> ConnectionValidator { get; set; }
-
- public Action<MqttApplicationMessageInterceptorContext> ApplicationMessageInterceptor { get; set; }
-
- public Action<MqttSubscriptionInterceptorContext> SubscriptionInterceptor { get; set; }
-
- public IMqttServerStorage Storage { get; set; }
- }
- }
|