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
+1
View File
@@ -7,6 +7,7 @@ namespace MQTTnet.Channel
public interface IMqttChannel : IDisposable
{
string Endpoint { get; }
bool IsSecureConnection { get; }
Task ConnectAsync(CancellationToken cancellationToken);
Task DisconnectAsync(CancellationToken cancellationToken);