Move events to server level instead of options.

This commit is contained in:
Christian
2021-10-27 22:01:45 +02:00
parent 7297336786
commit d411aa4f97
109 changed files with 1148 additions and 2096 deletions
@@ -27,7 +27,7 @@ namespace MQTTnet.TestApp.NetCore
UseTls = true,
SslProtocol = SslProtocols.Tls13,
// Don't use this in production code. This handler simply allows any invalid certificate to work.
CertificateValidationHandler = (w) => true
CertificateValidationHandler = w => true
};
#endif
@@ -37,7 +37,7 @@ namespace MQTTnet.TestApp.NetCore
UseTls = true,
SslProtocol = SslProtocols.Tls12,
// Don't use this in production code. This handler simply allows any invalid certificate to work.
CertificateValidationHandler = (w) => true
CertificateValidationHandler = w => true
};
// mqtt.eclipseprojects.io