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
@@ -10,6 +10,8 @@ namespace MQTTnet.Adapter
{
string Endpoint { get; }
bool IsSecureConnection { get; }
MqttPacketFormatterAdapter PacketFormatterAdapter { get; }
event EventHandler ReadingPacketStarted;
@@ -42,6 +42,8 @@ namespace MQTTnet.Adapter
public string Endpoint => _channel.Endpoint;
public bool IsSecureConnection => _channel.IsSecureConnection;
public MqttPacketFormatterAdapter PacketFormatterAdapter { get; }
public event EventHandler ReadingPacketStarted;