Add flag for secure connections.

This commit is contained in:
Christian Kratky
2019-03-10 19:52:55 +01:00
parent 1e697a94a1
commit 562a5304f6
16 changed files with 45 additions and 9 deletions
@@ -20,6 +20,7 @@ namespace MQTTnet.AspNetCore
}
public string Endpoint => Connection.ConnectionId;
public bool IsSecureConnection => false; // TODO: Fix detection.
public ConnectionContext Connection { get; }
public MqttPacketFormatterAdapter PacketFormatterAdapter { get; }
public event EventHandler ReadingPacketStarted;