Class MqttTransport
Builds the Transport a ladder rung uses to reach a broker over MQTT.
public static class MqttTransport
- Inheritance
-
MqttTransport
- Inherited Members
Methods
Open(MqttClientOptions)
Creates a transport that reaches a broker over MQTT.
public static Transport Open(MqttClientOptions options)
Parameters
optionsMqttClientOptionsThe broker settings.
Returns
- Transport
The transport, ready to add as a rung.
Exceptions
- ArgumentOutOfRangeException
A QoS is not one of the Qos values.
- ArgumentException
A password comes without a username, or a client certificate without its key.