-
-
Save mgwedd/c45c3ff389fb18c81b56f9ca1b6f685a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use WebSocket connection. | |
var options = new MqttClientOptionsBuilder() | |
.WithWebSocketServer("broker.hivemq.com:8000/mqtt") | |
.Build(); | |
await client.ConnectAsync(options); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment