mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-16 17:23:04 +08:00
fixed websocket subprotocol negotiation
This commit is contained in:
@@ -21,10 +21,10 @@ namespace MQTTnet.TestApp.NetCore
|
||||
{
|
||||
Server = "localhost"
|
||||
},
|
||||
////ChannelOptions = new MqttClientWebSocketOptions
|
||||
////{
|
||||
//// Uri = "localhost"
|
||||
////}
|
||||
//ChannelOptions = new MqttClientWebSocketOptions
|
||||
//{
|
||||
// Uri = "ws://localhost:59690/mqtt"
|
||||
//}
|
||||
};
|
||||
|
||||
var factory = new MqttFactory();
|
||||
|
||||
Reference in New Issue
Block a user