mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-16 17:23:04 +08:00
Refactoring of WebSocket support
This commit is contained in:
@@ -51,7 +51,7 @@ namespace MQTTnet.TestApp.NetCore
|
||||
Server = "localhost",
|
||||
ClientId = "XYZ",
|
||||
CleanSession = true,
|
||||
ConnectionType = ConnectionTypes.WS
|
||||
ConnectionType = MqttConnectionType.Ws
|
||||
};
|
||||
|
||||
var client = new MqttClientFactory().CreateMqttClient(options);
|
||||
|
||||
Reference in New Issue
Block a user