Add ClientId for application messages published by the server.

This commit is contained in:
Christian Kratky
2019-04-24 21:37:29 +02:00
parent 9da3377aa7
commit 6ed3b0cedd
4 changed files with 21 additions and 2 deletions
+3 -1
View File
@@ -4,6 +4,8 @@ namespace MQTTnet.Server
{
public interface IMqttServerOptions
{
string ClientId { get; set; }
bool EnablePersistentSessions { get; }
int MaxPendingMessagesPerClient { get; }
@@ -19,6 +21,6 @@ namespace MQTTnet.Server
MqttServerTcpEndpointOptions DefaultEndpointOptions { get; }
MqttServerTlsTcpEndpointOptions TlsEndpointOptions { get; }
IMqttServerStorage Storage { get; }
IMqttServerStorage Storage { get; }
}
}