Expose more TLS options (#1737)

This commit is contained in:
Christian
2023-05-13 12:08:52 +02:00
committed by GitHub
parent 449624fd72
commit 0bb4c6ef09
13 changed files with 49 additions and 60 deletions
@@ -130,6 +130,9 @@ namespace MQTTnet.Formatter.V5
MaximumQoS = MqttQualityOfServiceLevel.ExactlyOnce
};
// Also set the return code of MQTT 3.1.1 for backward compatibility and debugging purposes.
packet.ReturnCode = MqttConnectReasonCodeConverter.ToConnectReturnCode(packet.ReasonCode);
var propertiesReader = new MqttV5PropertiesReader(_bufferReader);
while (propertiesReader.MoveNext())
{