Refactoring of WebSocket support

This commit is contained in:
Christian Kratky
2017-09-09 23:13:53 +02:00
parent 8aec1583df
commit 1c30d14910
13 changed files with 282 additions and 38 deletions
-14
View File
@@ -1,14 +0,0 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace MQTTnet.Core.Client
{
public enum ConnectionTypes
{
TCP,
TLS,
WS,
WSS
}
}
+1 -1
View File
@@ -25,6 +25,6 @@ namespace MQTTnet.Core.Client
public MqttProtocolVersion ProtocolVersion { get; set; } = MqttProtocolVersion.V311;
public ConnectionTypes ConnectionType { get; set; } = ConnectionTypes.TCP;
public MqttConnectionType ConnectionType { get; set; } = MqttConnectionType.Tcp;
}
}
+10
View File
@@ -0,0 +1,10 @@
namespace MQTTnet.Core.Client
{
public enum MqttConnectionType
{
Tcp,
Tls,
Ws,
Wss
}
}