MQTTnet
MQTTnet copied to clipboard
Support for hosting extensions
With this change, the MQTTnet server can be hosted using Microsoft.Extensions.Hosting library, rather than full ASP.net core SDK.
@YAJeff Please agree to the Contributor License. Then I will merge this PR.
@dotnet-policy-service agree company="CARIAD Inc"
@chkr1011 I've merged the latest from main into @YAJeff's fork and agreed to the CLA on behalf of the company we both work for.
@kallayj This does not seem to work. The agreement is still in "Contributor License Agreement is not agreed yet." state. I am afraid you have to create a new PR on your own (or please @YAJeff) to accept it.
@dotnet-policy-service agree company="CARIAD Inc"
@chkr1011 the CLA check has passed, can this move forward?
@kallayj I applied the code style and moved the tests a little around to get the code compiling.
There are still some warnings left and some new properties are not even used. Please let me know when the code is finished so that I can review it.
@chkr1011 I addressed the nullable reference type warnings. Where are you seeing unused properties?
Please see "MqttServerHostingOptions.WebSocketRoute". It is set but never read. Same for "WebSocketAuthenticationCallback".
@chkr1011 I removed those properties.