Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
|
- using System;
- using MQTTnet.Core.Packets;
- using MQTTnet.Core.Protocol;
-
- namespace MQTTnet.Core.Server
- {
- public sealed class MqttServerOptions
- {
- public DefaultEndpointOptions DefaultEndpointOptions { get; } = new DefaultEndpointOptions();
-
- public MqttServerTlsEndpointOptions TlsEndpointOptions { get; } = new MqttServerTlsEndpointOptions();
-
- public int ConnectionBacklog { get; set; } = 10;
-
- public TimeSpan DefaultCommunicationTimeout { get; set; } = TimeSpan.FromSeconds(10);
-
- public Func<MqttConnectPacket, MqttConnectReturnCode> ConnectionValidator { get; set; }
- }
- }
|