mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-18 10:26:11 +08:00
Removed some %^&#ing $@#! comments. Gosh darnit.
This commit is contained in:
@@ -9,8 +9,7 @@ namespace MQTTnet
|
||||
public MqttServer CreateMqttServer(MqttServerOptions options)
|
||||
{
|
||||
if (options == null) throw new ArgumentNullException(nameof(options));
|
||||
|
||||
// The cast to IMqttServerAdapter is required... stupidly...
|
||||
|
||||
return new MqttServer(options, options.UseSSL ? (IMqttServerAdapter)new MqttSslServerAdapter() : new MqttServerAdapter());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user