MqttClientOptionsBuilder.WithWebSocketsServer
is marked as obsolete but there is no example for the alternative
#1887
Unanswered
timothyparez
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It seems like the API surface for this library changes with every single release.
The following method was working perfectly fine and straightforward:
MQTTnet/Source/MQTTnet/Client/Options/MqttClientOptionsBuilder.cs
Line 424 in ae84aa4
We're now asked to use the following instead:
But it's not clear how this is supposed to be used:
The
Wiki
points towards theSamples
but the samples are out of date.What is, currently, the correct way to connect to a
WebSockets
host ?Beta Was this translation helpful? Give feedback.
All reactions