Protocol property

Gets or sets the transport protocol. Read/write.
Syntax
connOption
.
Protocol
where
connOption
- is an MQTTConnectOption object created by the MQTTFactory object's method
CreateConnectOption
.
Default value
If this property is omitted, it will use its default value, which is
MqttProtocolTcp
, meaning the MQTT communication will use the TCP protocol.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal