mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-18 02:13:00 +08:00
Add interface for server options. Add context class for connection validator (hide internal packets).
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
|
||||
namespace MQTTnet.Server
|
||||
{
|
||||
public interface IMqttServerOptions
|
||||
{
|
||||
Action<MqttApplicationMessageInterceptorContext> ApplicationMessageInterceptor { get; }
|
||||
int ConnectionBacklog { get; }
|
||||
Action<MqttConnectionValidatorContext> ConnectionValidator { get; }
|
||||
TimeSpan DefaultCommunicationTimeout { get; }
|
||||
MqttServerDefaultEndpointOptions DefaultEndpointOptions { get; }
|
||||
IMqttServerStorage Storage { get; }
|
||||
Action<MqttSubscriptionInterceptorContext> SubscriptionInterceptor { get; }
|
||||
MqttServerTlsEndpointOptions TlsEndpointOptions { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user